Source code for pychex.exceptions

[docs]class PychexException(Exception): """ All other exceptions inherit from PychexException """ pass
[docs]class PychexSecurityImageMismatchError(PychexException): """ Raised when the security image returned from Paychex is incorrect """ pass
[docs]class PychexSecurityImageMissingError(PychexException): """ Raised when we try to login before getting the security image """ pass
[docs]class PychexInvalidPasswordError(PychexException): """ Raised when an invalid password is used at any point in the flow """ pass
[docs]class PychexUnauthenticatedError(PychexException): """ Raised when we try to make requests that require authentication before we have authenticated """ pass
[docs]class PychexNoBolUsernameError(PychexException): """ Raised when we try to log in to Benefits OnLine before obtaining the username """ pass
[docs]class PychexUnknownError(PychexException): """ Raised when we have an unknown error, such as HTTP 500 """ pass