class

Kemal::Exceptions::RouteNotFound

Inherits Exception < Reference < Object

Raised when no route matches the request.

The message is the bare status reason, as with MethodNotAllowed: an error 404 handler commonly returns ex.message, and the response is text/html, so anything from the request in it would be reflected markup. The request itself is reachable through context.

Constructors

Instance methods

context
Source