How to use the appier.error_handler function in appier

To help you get started, we’ve selected a few appier 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 hivesolutions / appier / examples / hello / hello.py View on Github external
    @appier.error_handler(404)
    def not_found_code(self, error):
        return "404 - Not found"
github hivesolutions / appier / examples / hello / hello_async.py View on Github external
    @appier.error_handler(404)
    def not_found_code(self, error):
        return "404 - Not found"