Exception: Scarpe::JSEvalError
- Defined in:
- lib/scarpe/errors.rb
Overview
This error indicates a problem when running ConfirmedEval
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(data) ⇒ JSEvalError
constructor
A new instance of JSEvalError.
Constructor Details
#initialize(data) ⇒ JSEvalError
Returns a new instance of JSEvalError.
52 53 54 55 |
# File 'lib/scarpe/errors.rb', line 52 def initialize(data) @data = data super(data[:msg] || (self.class.name + "!")) end |