#include <v8.h>
Public Member Functions | |
| Local< String > | Get () const |
| Local< String > | GetSourceLine () const |
| Handle< Value > | GetScriptResourceName () const |
| Handle< Value > | GetScriptData () const |
| Handle< StackTrace > | GetStackTrace () const |
| int | GetLineNumber () const |
| int | GetStartPosition () const |
| int | GetEndPosition () const |
| int | GetStartColumn () const |
| int | GetEndColumn () const |
Static Public Member Functions | |
| static void | PrintCurrentStackTrace (FILE *out) |
Static Public Attributes | |
| static const int | kNoLineNumberInfo = 0 |
| static const int | kNoColumnInfo = 0 |
An error message.
| int v8::Message::GetEndColumn | ( | ) | const |
Returns the index within the line of the last character where the error occurred.
| int v8::Message::GetEndPosition | ( | ) | const |
Returns the index within the script of the last character where the error occurred.
| int v8::Message::GetLineNumber | ( | ) | const |
Returns the number, 1-based, of the line where the error occurred.
Returns the resource data for the script from where the function causing the error originates.
Returns the resource name for the script from where the function causing the error originates.
| Handle<StackTrace> v8::Message::GetStackTrace | ( | ) | const |
Exception stack trace. By default stack traces are not captured for uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows to change this option.
| int v8::Message::GetStartColumn | ( | ) | const |
Returns the index within the line of the first character where the error occurred.
| int v8::Message::GetStartPosition | ( | ) | const |
Returns the index within the script of the first character where the error occurred.
1.7.1