Exception: HttpEventstore::ClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/http_eventstore/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ ClientError

Returns a new instance of ClientError.



4
5
6
7
# File 'lib/http_eventstore/errors.rb', line 4

def initialize(code)
  @code = code
  super()
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/http_eventstore/errors.rb', line 3

def code
  @code
end