Exception: PgEventstore::WrappedException
- Inherits:
-
StandardError
- Object
- StandardError
- PgEventstore::WrappedException
- Defined in:
- lib/pg_eventstore/errors.rb
Instance Attribute Summary collapse
-
#extra ⇒ Object
readonly
Returns the value of attribute extra.
-
#original_exception ⇒ Object
readonly
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(original_exception, extra) ⇒ WrappedException
constructor
A new instance of WrappedException.
Constructor Details
#initialize(original_exception, extra) ⇒ WrappedException
Returns a new instance of WrappedException.
252 253 254 255 256 |
# File 'lib/pg_eventstore/errors.rb', line 252 def initialize(original_exception, extra) @original_exception = original_exception @extra = extra super() end |
Instance Attribute Details
#extra ⇒ Object (readonly)
Returns the value of attribute extra.
250 251 252 |
# File 'lib/pg_eventstore/errors.rb', line 250 def extra @extra end |
#original_exception ⇒ Object (readonly)
Returns the value of attribute original_exception.
249 250 251 |
# File 'lib/pg_eventstore/errors.rb', line 249 def original_exception @original_exception end |