Exception: ChargeBee::Error

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

Direct Known Subclasses

APIError, ForbiddenError, IOError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, original_error = nil) ⇒ Error



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

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.



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

def original_error
  @original_error
end