psnawp_api.core.psnawp_exceptions module#
Provide exception classes for the psnawp package.
- exception PSNAWPAuthenticationError[source]#
Bases:
PSNAWPClientErrorException for authentication related errors.
- exception PSNAWPBadRequestError[source]#
Bases:
PSNAWPClientErrorException raised if bad request is made to the endpoint.
- exception PSNAWPClientError[source]#
Bases:
PSNAWPErrorException raised if there is a problem at the client.
- exception PSNAWPForbiddenError[source]#
Bases:
PSNAWPClientErrorException for accessing an action is not allowed due to insufficient rights to a resource.
- exception PSNAWPIllegalArgumentError[source]#
Bases:
PSNAWPClientErrorException raised if user gave wrong input to a function.
- exception PSNAWPInvalidTokenError[source]#
Bases:
PSNAWPClientErrorException raised if user gave unparsable npsso token string.
- exception PSNAWPNotAllowedError[source]#
Bases:
PSNAWPClientErrorException raised if resource doesn’t support this method.
- exception PSNAWPNotFoundError[source]#
Bases:
PSNAWPClientErrorException raised if resource not found.
- exception PSNAWPServerError[source]#
Bases:
PSNAWPErrorException raised if there is a problem at the server.
- exception PSNAWPTooManyRequestsError[source]#
Bases:
PSNAWPClientErrorException raised if client sends too many requests.
- exception PSNAWPUnauthorizedError[source]#
Bases:
PSNAWPClientErrorException for accessing an action is not allowed due to missing the right authorization.