class Onyx::HTTP::Middleware::Router::NotFound

Overview

Raised if route is not found for this request. The default status code is 404. See https://httpstatuses.com/404.

Defined in:

onyx-http/middleware/router/not_found.cr

Instance methods inherited from class Onyx::HTTP::Error(404)

code : Int32 code, payload payload

Instance methods inherited from class Exception

status_message status_message