Exception: HttpEventStore::ServerError

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) ⇒ ServerError

Returns a new instance of ServerError.


11
12
13
14
# File 'lib/http_event_store/errors.rb', line 11

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

Instance Attribute Details

#codeObject

Returns the value of attribute code


10
11
12
# File 'lib/http_event_store/errors.rb', line 10

def code
  @code
end