Exception: MastercardCoreSdk::Exceptions::SDKValidationError
- Inherits:
-
SDKBaseError
- Object
- RuntimeError
- SDKBaseError
- MastercardCoreSdk::Exceptions::SDKValidationError
- Defined in:
- lib/mastercard_core_sdk/exceptions/sdk_validation_error.rb
Overview
Defines errors to be raised on validation failure.
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
Attributes inherited from SDKBaseError
Instance Method Summary collapse
-
#initialize(error_message) ⇒ SDKValidationError
constructor
A new instance of SDKValidationError.
Constructor Details
#initialize(error_message) ⇒ SDKValidationError
Returns a new instance of SDKValidationError.
9 10 11 12 |
# File 'lib/mastercard_core_sdk/exceptions/sdk_validation_error.rb', line 9 def initialize() @error_message = super() end |
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message.
7 8 9 |
# File 'lib/mastercard_core_sdk/exceptions/sdk_validation_error.rb', line 7 def @error_message end |