Exception: HttpEventstore::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- HttpEventstore::ClientError
- 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) ⇒ ClientError
constructor
A new instance of ClientError.
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
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/http_eventstore/errors.rb', line 3 def code @code end |