Exception: TTYCoke::Errors::YamlSyntaxError
- Inherits:
-
TTYCokeError
- Object
- StandardError
- TTYCokeError
- TTYCoke::Errors::YamlSyntaxError
- Defined in:
- lib/ttycoke/errors.rb
Instance Method Summary collapse
-
#initialize(error) ⇒ YamlSyntaxError
constructor
A new instance of YamlSyntaxError.
Methods inherited from TTYCokeError
Constructor Details
#initialize(error) ⇒ YamlSyntaxError
Returns a new instance of YamlSyntaxError.
34 35 36 37 |
# File 'lib/ttycoke/errors.rb', line 34 def initialize(error) super "Maybe a yaml or regex syntax error. " + "Parent error class ::#{error.class.name} (#{error.})." end |