Exception: PgEventstore::WrappedException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pg_eventstore/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#extraObject (readonly)

Returns the value of attribute extra.



250
251
252
# File 'lib/pg_eventstore/errors.rb', line 250

def extra
  @extra
end

#original_exceptionObject (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