Exception: PayuZa::StructNotValidError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message)
  @message = "#{var_name} #{message}"
  @var_name = var_name
end

Instance Attribute Details

#var_nameObject (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