Exception: Sequent::Core::EventStore::DeserializeEventError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Sequent::Core::EventStore::DeserializeEventError
- Defined in:
- lib/sequent/core/event_store.rb
Instance Attribute Summary collapse
-
#event_hash ⇒ Object
readonly
Returns the value of attribute event_hash.
Instance Method Summary collapse
-
#initialize(event_hash) ⇒ DeserializeEventError
constructor
A new instance of DeserializeEventError.
- #message ⇒ Object
Constructor Details
#initialize(event_hash) ⇒ DeserializeEventError
Returns a new instance of DeserializeEventError.
24 25 26 27 |
# File 'lib/sequent/core/event_store.rb', line 24 def initialize(event_hash) super() @event_hash = event_hash end |
Instance Attribute Details
#event_hash ⇒ Object (readonly)
Returns the value of attribute event_hash.
22 23 24 |
# File 'lib/sequent/core/event_store.rb', line 22 def event_hash @event_hash end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/sequent/core/event_store.rb', line 29 def "Event hash: #{event_hash.inspect}\nCause: #{cause.inspect}" end |