source:
products/qTrackSpam/trunk/errors.py
| Last change on this file was 1, checked in by myroslav, 20 years ago | |
|---|---|
|
|
| File size: 261 bytes | |
| 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 repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/common/qtrac_logo.png)