Exception: PaystackSdk::MissingParamError
- Inherits:
-
ValidationError
- Object
- StandardError
- Error
- ValidationError
- PaystackSdk::MissingParamError
- Defined in:
- lib/paystack_sdk.rb
Overview
Raised when a required parameter is missing. Contains the parameter name for detailed error handling.
Instance Attribute Summary collapse
-
#param_name ⇒ Object
readonly
Returns the value of attribute param_name.
Instance Method Summary collapse
-
#initialize(param_name) ⇒ MissingParamError
constructor
A new instance of MissingParamError.
Constructor Details
#initialize(param_name) ⇒ MissingParamError
Returns a new instance of MissingParamError.
21 22 23 24 |
# File 'lib/paystack_sdk.rb', line 21 def initialize(param_name) @param_name = param_name super("Missing required parameter: #{param_name}") end |
Instance Attribute Details
#param_name ⇒ Object (readonly)
Returns the value of attribute param_name.
19 20 21 |
# File 'lib/paystack_sdk.rb', line 19 def param_name @param_name end |