class Influx::KnownAPIError
- Influx::KnownAPIError
- Influx::APIError
- Influx::Exception
- Exception
- Reference
- Object
Direct Known Subclasses
- Influx::BadRequest
- Influx::InternalServerError
- Influx::NotFound
- Influx::PayloadTooLarge
- Influx::Unauthorized
Defined in:
errors.crConstructors
- .new(status, message, code : String, err : Nil | String = nil, op : Nil | String = nil, cause = nil)
Instance Method Summary
- #code : String
- #code=(code : String)
- #err : String | Nil
- #err=(err : String | Nil)
- #op : String | Nil
- #op=(op : String | Nil)
Macro Summary
Instance methods inherited from class Influx::APIError
status : HTTP::Status
status,
status=(status : HTTP::Status)
status=
Constructor methods inherited from class Influx::APIError
new(status : HTTP::Status, message, cause = nil)
new
Class methods inherited from class Influx::APIError
for_status(status, body)
for_status
Constructor Detail
def self.new(status, message, code : String, err : Nil | String = nil, op : Nil | String = nil, cause = nil)
#