The OpenD Programming Language

cef_v8exception_t

Structure representing a V8 exception. The functions of this structure may be called on any render process thread.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_end_column
int function(cef_v8exception_t* self) nothrow get_end_column;

Returns the index within the line of the last character where the error occurred.

get_end_position
int function(cef_v8exception_t* self) nothrow get_end_position;

Returns the index within the script of the last character where the error occurred.

get_line_number
int function(cef_v8exception_t* self) nothrow get_line_number;

Returns the 1-based number of the line where the error occurred or 0 if the line number is unknown.

get_message
cef_string_userfree_t function(cef_v8exception_t* self) nothrow get_message;

Returns the exception message.

get_script_resource_name
cef_string_userfree_t function(cef_v8exception_t* self) nothrow get_script_resource_name;

Returns the resource name for the script from where the function causing the error originates.

get_source_line
cef_string_userfree_t function(cef_v8exception_t* self) nothrow get_source_line;

Returns the line of source code that the exception occurred within.

get_start_column
int function(cef_v8exception_t* self) nothrow get_start_column;

Returns the index within the line of the first character where the error occurred.

get_start_position
int function(cef_v8exception_t* self) nothrow get_start_position;

Returns the index within the script of the first character where the error occurred.

Meta