Exception: TTYCoke::Errors::YamlSyntaxError

Inherits:
TTYCokeError
  • Object
show all
Defined in:
lib/ttycoke/errors.rb

Instance Method Summary collapse

Methods inherited from TTYCokeError

status_code

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.message})."
end