Exception: ChargeBee::Error
- Inherits:
-
StandardError
- Object
- StandardError
- ChargeBee::Error
- Defined in:
- lib/chargebee/errors.rb
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(message = nil, original_error = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, original_error = nil) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/chargebee/errors.rb', line 6 def initialize(=nil,original_error = nil) super @original_error = original_error end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
4 5 6 |
# File 'lib/chargebee/errors.rb', line 4 def original_error @original_error end |