class Athena::Routing::Exceptions::InvalidParameter
- Athena::Routing::Exceptions::InvalidParameter
- Athena::Routing::Exceptions::UnprocessableEntity
- Athena::Routing::Exceptions::HTTPException
- Exception
- Reference
- Object
Defined in:
exceptions/invalid_parameter.crConstructors
- .new(parameter : ART::Params::ParamInterface, violations : AVD::Violation::ConstraintViolationListInterface, message : String, cause : Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
- .with_violations(parameter : ART::Params::ParamInterface, violations : AVD::Violation::ConstraintViolationListInterface) : self
Instance Method Summary
- #parameter : ART::Params::ParamInterface
- #violations : AVD::Violation::ConstraintViolationListInterface
Constructor methods inherited from class Athena::Routing::Exceptions::UnprocessableEntity
new(message : String, cause : Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
new
Instance methods inherited from class Athena::Routing::Exceptions::HTTPException
headers : HTTP::Headers
headers,
headers=(headers : HTTP::Headers)
headers=,
status : HTTP::Status
status,
status_code : Int32
status_code,
to_json(builder : JSON::Builder) : Nil
to_json
Constructor methods inherited from class Athena::Routing::Exceptions::HTTPException
new(status : HTTP::Status, message : String, cause : Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)new(status_code : Int32, message : String, cause : Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new) new
Instance methods inherited from class Exception
to_json(builder : JSON::Builder) : Nil
to_json
Constructor Detail
def self.new(parameter : ART::Params::ParamInterface, violations : AVD::Violation::ConstraintViolationListInterface, message : String, cause : Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
#
def self.with_violations(parameter : ART::Params::ParamInterface, violations : AVD::Violation::ConstraintViolationListInterface) : self
#