Exception: PayuZa::StructNotValidError
- Inherits:
-
StandardError
- Object
- StandardError
- PayuZa::StructNotValidError
- Defined in:
- lib/payu_za/errors.rb
Instance Attribute Summary collapse
-
#var_name ⇒ Object
readonly
Returns the value of attribute var_name.
Instance Method Summary collapse
-
#initialize(var_name, message) ⇒ StructNotValidError
constructor
A new instance of StructNotValidError.
Constructor Details
#initialize(var_name, message) ⇒ StructNotValidError
Returns a new instance of StructNotValidError.
5 6 7 8 |
# File 'lib/payu_za/errors.rb', line 5 def initialize(var_name, ) = "#{var_name} #{message}" @var_name = var_name end |
Instance Attribute Details
#var_name ⇒ Object (readonly)
Returns the value of attribute var_name.
3 4 5 |
# File 'lib/payu_za/errors.rb', line 3 def var_name @var_name end |