class Onyx::HTTP::Middleware::Router::BadRequest

Overview

Raised when a requst is bad. The default status code is 400. See https://httpstatuses.com/400.

Defined in:

onyx-http/middleware/router/bad_request.cr

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

code : Int32 code, payload payload

Instance methods inherited from class Exception

status_message status_message