source: products/qTrackSpam/trunk/errors.py

Last change on this file was 1, checked in by myroslav, 15 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 261 bytes
RevLine 
[1]1class TrackbackError(Exception):
2
3    def __init__(self, code, message=None):
4        self.code = code
5        self.message = message
6
7class BlacklistedURL(Exception):
8
9    def __init__(self, url, match=None):
10        self.url = url
11        self.match = match
12
Note: See TracBrowser for help on using the repository browser.