PermissionDeniedException
Documentation for the `PermissionDeniedException` class.
Namespace blazingapi.exceptions
The PermissionDeniedException
class is a subclass of the APIException
class.
It should be raised when a user does not have permission to access a resource.
Class Definition
class PermissionDeniedException(APIException):
status_code = 403
default_detail = 'You do not have permission to perform this action.'
default_code = 'permission_denied'