class Athena::Routing::Exceptions::MisdirectedRequestException

Overview

Raises a "Misdirected Request" exception with code 421

Defined in:

routing/exceptions.cr

Constructors

Instance methods inherited from class Athena::Routing::Exceptions::AthenaException

code : Int32 code, to_json : String to_json

Constructor methods inherited from class Athena::Routing::Exceptions::AthenaException

new(code : Int32, message) new

Constructor Detail

def self.new(message : String = "Misdirected Request") #

[View source]