Changeset 1037115 for server/lib/gutenbach/ipp/core/errors.py
- Timestamp:
- Dec 24, 2011, 1:33:26 AM (12 years ago)
- Branches:
- no-cups
- Children:
- ee8e6d0
- Parents:
- 793432f
- git-author:
- Jessica B. Hamrick <jhamrick@…> (12/24/11 01:33:26)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (12/24/11 01:33:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/gutenbach/ipp/core/errors.py
r793432f r1037115 1 __all__ = [ 2 'IPPException', 3 'IPPClientException', 4 'IPPServerException', 5 6 'ClientErrorBadRequest', 7 'ClientErrorForbidden', 8 'ClientErrorNotAuthenticated', 9 'ClientErrorNotAuthorized', 10 'ClientErrorNotPossible', 11 'ClientErrorTimeout', 12 'ClientErrorNotFound', 13 'ClientErrorGone', 14 'ClientErrorRequestEntity', 15 'ClientErrorRequestValue', 16 'ClientErrorDocumentFormatNotSupported', 17 'ClientErrorAttributes', 18 'ClientErrorUriSchemeNotSupported', 19 'ClientErrorCharsetNotSupported', 20 'ClientErrorConflict', 21 'ClientErrorCompressionNotSupported', 22 'ClientErrorCompressionError', 23 'ClientErrorDocumentFormatError', 24 'ClientErrorDocumentAccessError', 25 'ClientErrorAttributesNotSettable', 26 'ClientErrorIgnoredAllSubscriptions', 27 'ClientErrorTooManySubscriptions', 28 'ClientErrorIgnoredAllNotifications', 29 'ClientErrorPrintSupportFileNotFound', 30 31 'ServerErrorInternalError', 32 'ServerErrorOperationNotSupported', 33 'ServerErrorServiceUnavailable', 34 'ServerErrorVersionNotSupported', 35 'ServerErrorDeviceError', 36 'ServerErrorTemporaryError', 37 'ServerErrorNotAccepting', 38 'ServerErrorPrinterBusy', 39 'ServerErrorJobCancelled', 40 'ServerErrorMultipleJobsNotSupported', 41 'ServerErrorPrinterIsDeactivated', 42 ] 43 44 1 45 from .constants import ErrorCodes 2 46 … … 129 173 ipp_error_code = ErrorCodes.PRINTER_BUSY 130 174 131 class ServerError ErrorJobCancelled(IPPServerException):175 class ServerErrorJobCancelled(IPPServerException): 132 176 ipp_error_code = ErrorCodes.ERROR_JOB_CANCELLED 133 177
Note: See TracChangeset
for help on using the changeset viewer.