|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_JSValue.h>
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.
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). | |
| unsigned int column |
The 1-based column the error was created at (0 if unknown).
| unsigned int line |
The 1-based line the error was created at (0 if unknown).
| 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).
| ULString stack |
The error's stack trace (NULL if it has none).
| 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).