ErrorOptions interface
Configurations used to render the error dialog.
Properties
error |
The time when the error occurrs |
help |
The help link to render |
label |
Label value error details. |
plain |
Plain text error detail. |
primary |
Primary button definition. Rendered at the right bottom of the error dialog. |
request |
The id of the request associated with the error |
secondary |
Secondary button definition. Rendered at the right bottom of the error dialog close to primary button. A close button will be rendered if users don't provide a secondary button. |
stack |
The stack trace of the error |
status |
The status code of the request associated with the error |
tertiary |
Tertiary button definition. Rendered at the left bottom of the error dialog. A go home button will be rendered if users don't provide a tertiary button. |
title | Title of the error dialog. |
Property Details
errorTime
The time when the error occurrs
errorTime?: string
Property Value
string
helpLink
The help link to render
helpLink?: string
Property Value
string
labelValueDetails
plainTextDetail
Plain text error detail.
plainTextDetail?: string
Property Value
string
primaryButton
Primary button definition. Rendered at the right bottom of the error dialog.
primaryButton?: ErrorDialogButton
Property Value
requestId
The id of the request associated with the error
requestId?: string
Property Value
string
secondaryButton
Secondary button definition. Rendered at the right bottom of the error dialog close to primary button. A close button will be rendered if users don't provide a secondary button.
secondaryButton?: ErrorDialogButton
Property Value
stackTrace
The stack trace of the error
stackTrace?: string
Property Value
string
statusCode
The status code of the request associated with the error
statusCode?: string
Property Value
string
tertiaryButton
Tertiary button definition. Rendered at the left bottom of the error dialog. A go home button will be rendered if users don't provide a tertiary button.
tertiaryButton?: ErrorDialogButton
Property Value
title
Title of the error dialog.
title: string
Property Value
string