class Athena::Routing::Exceptions::PreconditionRequiredException

Overview

Raises a "Precondition Required" exception with code 428

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 = "Precondition Required") #

[View source]