Exception: Scarpe::JSEvalError

Inherits:
Error
  • Object
show all
Defined in:
lib/scarpe/errors.rb

Overview

This error indicates a problem when running ConfirmedEval

Direct Known Subclasses

JSInternalError, JSRuntimeError, JSTimeoutError

Instance Method Summary collapse

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