Exception: Transactor::PerformanceBombed
- Inherits:
-
StandardError
- Object
- StandardError
- Transactor::PerformanceBombed
- Defined in:
- lib/transactor/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#performance ⇒ Object
readonly
Returns the value of attribute performance.
Instance Method Summary collapse
-
#initialize(e, performance = nil) ⇒ PerformanceBombed
constructor
A new instance of PerformanceBombed.
Constructor Details
#initialize(e, performance = nil) ⇒ PerformanceBombed
Returns a new instance of PerformanceBombed.
9 10 11 12 13 |
# File 'lib/transactor/errors.rb', line 9 def initialize(e, performance=nil) super("#{e.class.name}: #{e.} #{performance.to_s}") set_backtrace e.backtrace @performance = performance end |
Instance Attribute Details
#performance ⇒ Object (readonly)
Returns the value of attribute performance.
7 8 9 |
# File 'lib/transactor/errors.rb', line 7 def performance @performance end |