Exception: HttpEventStore::ClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/http_event_store/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_event_store/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_event_store/errors.rb', line 3

def code
  @code
end