docs
Loading...
Searching...
No Matches
ULJSErrorDetails

#include <Ultralight/CAPI/CAPI_JSValue.h>

Overview

Details of a JavaScript error, filled by ulJSValueGetErrorDetails().

Each string field is either NULL or a string you own. Call ulJSErrorDetailsRelease() to destroy them all at once when you're finished.

Note
New fields are only ever added at the end.

Public Attributes

ULJSErrorType type
 The error's type (kULJSErrorType_Error for any other kind of error, and for a thrown value that isn't an error object).
ULString message
 The error's message (NULL if it has none).
ULString source_url
 The URL of the script that created the error (NULL if unknown).
unsigned int line
 The 1-based line the error was created at (0 if unknown).
unsigned int column
 The 1-based column the error was created at (0 if unknown).
ULString stack
 The error's stack trace (NULL if it has none).

Member Data Documentation

◆ column

unsigned int column

The 1-based column the error was created at (0 if unknown).

◆ line

unsigned int line

The 1-based line the error was created at (0 if unknown).

◆ message

ULString message

The error's message (NULL if it has none).

◆ source_url

ULString source_url

The URL of the script that created the error (NULL if unknown).

◆ stack

ULString stack

The error's stack trace (NULL if it has none).

◆ type

The error's type (kULJSErrorType_Error for any other kind of error, and for a thrown value that isn't an error object).


The documentation for this struct was generated from the following file: