Changeset 2097 for trunk/packages/invirt-base/python/invirt/common.py
- Timestamp:
- Feb 5, 2009, 3:24:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-base/python/invirt/common.py
r2095 r2097 76 76 class CodeError(Exception): 77 77 """Exception for internal errors or bad faith input.""" 78 def __init__(self, message, code=None): 79 Exception.__init__(self, message) 80 self.code = code 78 pass 81 79 82 80 #
Note: See TracChangeset
for help on using the changeset viewer.