Exception: Colorly::ScriptSyntaxError

Inherits:
Error
  • Object
show all
Defined in:
lib/colorly/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ ScriptSyntaxError

Returns a new instance of ScriptSyntaxError.



19
20
21
# File 'lib/colorly/exceptions.rb', line 19

def initialize(error)
  super error.message
end