v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Exception Class Reference

#include <v8.h>

Static Public Member Functions

static Local< ValueRangeError (Handle< String > message)
 
static Local< ValueReferenceError (Handle< String > message)
 
static Local< ValueSyntaxError (Handle< String > message)
 
static Local< ValueTypeError (Handle< String > message)
 
static Local< ValueError (Handle< String > message)
 

Detailed Description

Create new error objects by calling the corresponding error object constructor with the message.

Definition at line 2678 of file v8.h.

Member Function Documentation

Local< Value > Error ( Handle< String message)
static

Definition at line 5683 of file api.cc.

References ENTER_V8, Isolate::factory(), LOG_API, message, Factory::NewError(), ON_BAILOUT, and Utils::ToLocal().

Referenced by TEST(), and THREADED_TEST().

Local< Value > RangeError ( Handle< String message)
static
Local< Value > ReferenceError ( Handle< String message)
static
Local< Value > SyntaxError ( Handle< String message)
static
Local< Value > TypeError ( Handle< String message)
static

Definition at line 5667 of file api.cc.

References ENTER_V8, Isolate::factory(), LOG_API, message, Factory::NewTypeError(), ON_BAILOUT, and Utils::ToLocal().

Referenced by THREADED_TEST().


The documentation for this class was generated from the following files: