Exception: Rus3::CharRequiredError

Inherits:
Error
  • Object
show all
Defined in:
lib/rus3/error.rb

Constant Summary

Constants inherited from Error

Error::A2L_MAP

Constants included from EmptyList

EmptyList::EMPTY_LIST

Instance Method Summary collapse

Methods inherited from Error

#smart_error_value

Methods included from EmptyList

#null?

Constructor Details

#initialize(obj) ⇒ CharRequiredError

Returns a new instance of CharRequiredError.



74
75
76
# File 'lib/rus3/error.rb', line 74

def initialize(obj)
  super(EMSG[:char_required] % smart_error_value(obj))
end