class V8::ContextError

def self.check_open(caller_name)

def self.check_open(caller_name)
  raise new(caller_name) unless C::Context::InContext()
end

def initialize(caller_name)

def initialize(caller_name)
  super("tried to call method '#{caller_name} without an open context")
end