class RubyRunJs::JsException

Attributes

msg[R]
throw_value[R]
type[R]

Public Class Methods

new(type, msg, throw_value) click to toggle source
# File lib/ruby_run_js/objects/js_exception.rb, line 8
def initialize(type, msg, throw_value)
  @type = type
  @msg = msg
  @throw_value = throw_value
end

Public Instance Methods

to_s() click to toggle source
# File lib/ruby_run_js/objects/js_exception.rb, line 14
def to_s
  "#{@type}: #{@msg}"
end