class Athena::Routing::Exceptions::MethodNotAllowedException

Overview

Raises a "Method Not Allowed" exception with code 405

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 = "Method Not Allowed") #

[View source]