class

Grip::Handlers::Exception

Inherits Grip::Handlers::Base / HTTP::Handler / Reference / Object

Constants

CONTENT_TYPE_HTML = {"Content-Type" => "text/html; charset=UTF-8"}

Pre-allocated header for default error response

Constructors

Instance methods

add_route(verb : String, path : String, handler : ExceptionHandler, via : Symbol | Array(Symbol) | Nil = nil, override : Proc(::HTTP::Server::Context, ::HTTP::Server::Context) | Nil = nil) : Nil
Source
find_route(verb : String, path : String) : Radix::Result(Route)
Source
handlers
Source
handlers=(handlers : Hash(String, ExceptionHandler))
Source

Nested types