class Influx::KnownAPIError

Direct Known Subclasses

Defined in:

errors.cr

Constructors

Instance Method Summary

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

[View source]

Instance Method Detail

def code : String #

[View source]
def code=(code : String) #

[View source]
def err : String | Nil #

[View source]
def err=(err : String | Nil) #

[View source]
def op : String | Nil #

[View source]
def op=(op : String | Nil) #

[View source]

Macro Detail

macro initizalize_from_fields(*fields) #

[View source]