How to use the awokado.exceptions.forbidden.Forbidden.__init__ function in awokado

To help you get started, we’ve selected a few awokado examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 5783354 / awokado / awokado / exceptions / forbidden.py View on Github external
def __init__(self, details="Delete the resource is forbidden"):
        Forbidden.__init__(self, code="delete-forbidden", details=details)
github 5783354 / awokado / awokado / exceptions / forbidden.py View on Github external
def __init__(self, details="The creation of a resource forbidden"):
        Forbidden.__init__(self, code="create-forbidden", details=details)
github 5783354 / awokado / awokado / exceptions / forbidden.py View on Github external
def __init__(self, details="Read the resource is forbidden"):
        Forbidden.__init__(self, code="read-forbidden", details=details)
github 5783354 / awokado / awokado / exceptions / forbidden.py View on Github external
def __init__(self, details="Change the resource is forbidden"):
        Forbidden.__init__(self, code="update-forbidden", details=details)