struct CA::Error
- CA::Error
- Struct
- Value
- Object
Defined in:
clean-architectures/error.crConstructors
Class Method Summary
- .bad_request(body)
- .login_timeout(message : String)
- .server_error(body)
- .simple_message(message : String)
- .unauthorized(message : String)
Instance Method Summary
- #body : ErrorBody
- #body=(body : ErrorBody)
- #status_code : HTTP::Status
- #status_code=(status_code : HTTP::Status)
- #to_json