Exception: LLIP::UnvalidTokenError
- Defined in:
- lib/llip/llip_error.rb
Instance Attribute Summary
Attributes inherited from LLIPError
Instance Method Summary collapse
-
#initialize(token) ⇒ UnvalidTokenError
constructor
A new instance of UnvalidTokenError.
Methods inherited from LLIPError
Constructor Details
#initialize(token) ⇒ UnvalidTokenError
Returns a new instance of UnvalidTokenError.
30 31 32 |
# File 'lib/llip/llip_error.rb', line 30 def initialize(token) super token, "the current token '#{token.value}' doesn't match with the regular expression #{token.name}." end |