id | title |
---|---|
IRedBoxErrorInfo |
IRedBoxErrorInfo |
Kind: interface
This object provides information about the error. For JavaScript errors, a call stack is also provided.
readonly
IVectorView
<IRedBoxErrorFrameInfo
> Callstack
For JavaScript errors, this will contain the call stack of where the error occurred.
readonly
string ComponentStack
This will contain the component stack where the error occurred, which can help identify the component that is producing the error.
readonly
IJSValueReader
ExtraData
Provides access to extra data attached to the error. Adding additional data to the errors is not yet part of the stable API.
readonly
uint32_t Id
This Id can be used in IRedBoxHandler.UpdateError
to identify which error is being updated. For native errors, this is currently always 0
, and IRedBoxHandler.UpdateError
will never be called.
readonly
string Message
The error message.
readonly
string Name
An identifier for this error.
readonly
string OriginalMessage
If the message was adjusted for formatting, or otherwise processed, this contains the message before those modifications.