root/qTrackSpam/trunk/errors.py

Revision 691 (checked in by mylan, 2 years ago)

Import to public.

  • Property svn:eol-style set to native
Line 
1 class TrackbackError(Exception):
2
3     def __init__(self, code, message=None):
4         self.code = code
5         self.message = message
6
7 class 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 browser.