Exception: MasterCard::Core::Exceptions::SystemException
- Inherits:
-
APIException
- Object
- StandardError
- APIException
- MasterCard::Core::Exceptions::SystemException
- Defined in:
- lib/mastercard/core/exceptions.rb
Overview
SystemException
Instance Method Summary collapse
-
#initialize(message = nil, status = nil, error_data = nil) ⇒ SystemException
constructor
Exception when there was a system error processing a request.
Methods inherited from APIException
#describe, #getErrorCode, #getErrorData, #getMessage, #getStatus, #to_s
Constructor Details
#initialize(message = nil, status = nil, error_data = nil) ⇒ SystemException
Exception when there was a system error processing a request.
281 282 283 284 285 286 287 288 289 290 |
# File 'lib/mastercard/core/exceptions.rb', line 281 def initialize(=nil,status=nil,error_data=nil) if status.nil? status = 500 end #Call the base class constructor super(,status,error_data) end |