Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, details="Delete the resource is forbidden"):
Forbidden.__init__(self, code="delete-forbidden", details=details)
def __init__(self, details="The creation of a resource forbidden"):
Forbidden.__init__(self, code="create-forbidden", details=details)
def __init__(self, details="Read the resource is forbidden"):
Forbidden.__init__(self, code="read-forbidden", details=details)
def __init__(self, details="Change the resource is forbidden"):
Forbidden.__init__(self, code="update-forbidden", details=details)