exceptions.FastAPIChameleonNotFoundException

Signals a 404 response from inside a decorated view.

Usage

Source

exceptions.FastAPIChameleonNotFoundException()

Raised by not_found() and caught by the template() decorator, which renders template_file with an HTTP 404 status. You normally raise it indirectly via not_found() rather than constructing it yourself.