Exception: PgEventstore::WrappedException
- Defined in:
- lib/pg_eventstore/errors.rb,
sig/pg_eventstore/errors.rbs
Instance Attribute Summary collapse
-
#extra ⇒ Hash[Symbol, untyped]
Returns the value of attribute extra.
-
#original_exception ⇒ StandardError
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(original_exception, extra) ⇒ WrappedException
constructor
A new instance of WrappedException.
Methods inherited from Error
Constructor Details
#initialize(original_exception, extra) ⇒ WrappedException
Returns a new instance of WrappedException.
375 376 377 378 379 |
# File 'lib/pg_eventstore/errors.rb', line 375 def initialize(original_exception, extra) @original_exception = original_exception @extra = extra super() end |
Instance Attribute Details
#extra ⇒ Hash[Symbol, untyped]
Returns the value of attribute extra.
373 374 375 |
# File 'lib/pg_eventstore/errors.rb', line 373 def extra @extra end |
#original_exception ⇒ StandardError
Returns the value of attribute original_exception.
372 373 374 |
# File 'lib/pg_eventstore/errors.rb', line 372 def original_exception @original_exception end |