class Etcd::Error

Direct Known Subclasses

Defined in:

etcd/errors.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(opts : Hash(String, JSON::Any)) #

[View source]

Class Method Detail

def self.from_http_response(response : HTTP::Client::Response) #

[View source]

Instance Method Detail

def error_code : Int64 #

[View source]
def error_code=(error_code : Int64) #

[View source]
def index : Int64 #

[View source]
def index=(index : Int64) #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
def reason : String #

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

[View source]