Exception: HttpEventstore::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- HttpEventstore::ServerError
- Defined in:
- lib/http_eventstore/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(code) ⇒ ServerError
Returns a new instance of ServerError.
11 12 13 14 |
# File 'lib/http_eventstore/errors.rb', line 11 def initialize(code) @code = code super() end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
10 11 12 |
# File 'lib/http_eventstore/errors.rb', line 10 def code @code end |