Exception: ChargeBee::Error

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

Direct Known Subclasses

APIError, IOError

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message=nil,original_error = nil)
    super message
    @original_error = original_error
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



4
5
6
# File 'lib/chargebee/errors.rb', line 4

def original_error
  @original_error
end