class Athena::Routing::Exceptions::PreconditionFailedException

Overview

Raises a "Precondition Failed" exception with code 412

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 Failed") #

[View source]