Last date modified: 2025-Oct-28
Interface: IErrorService
Error Service, used to display full screen errors on an HTMLElement
Methods
cleanupFullScreenError()
cleanupFullScreenError(
parentElement?):void
Removes a full screen error.
Parameters
• parentElement?: HTMLElement
The Parent Element of the error screen to remove.
Returns
void
cleanupFullScreenErrorById()
cleanupFullScreenErrorById(
parentElementId?):void
Removes a full screen error.
Parameters
• parentElementId?: string
The Parent Element Id of the error screen to remove.
Returns
void
cleanupHangingFullScreenErrors()
cleanupHangingFullScreenErrors():
void
Removes all full screen errors without parent elements.
Returns
void
displayConfigurableFullScreenError()
displayConfigurableFullScreenError(
message,options, ...rest):HTMLElement
Displays a full screen error filling out the whole width and height of an div.
Parameters
• message: string
Sets the error message of the error screen. Supports inclusion of HTML.
• options: IErrorDisplayOptions
Options for displaying full screen error
• ...rest: any[]
Returns
HTMLElement
displayFullScreenError()
displayFullScreenError(
message,parentElement?,retryHandler?, ...rest?):HTMLElement
Displays a full screen error filling out the whole width and height of an div.
Parameters
• message: string
Sets the error message of the error screen. Supports inclusion of HTML.
• parentElement?: HTMLElement
Sets the Parent Element of the error screen.
• retryHandler?
• ...rest?: any[]
Returns
HTMLElement
The newly created full screen error HTMLElement
Deprecated
Use displayConfigurableFullScreenError instead.
displayFullScreenErrorById()
displayFullScreenErrorById(
message,parentElementId?,retryHandler?, ...rest?):HTMLElement
Displays a full screen error filling out the whole width and height of an div.
Parameters
• message: string
Sets the error message of the error screen. Supports inclusion of HTML.
• parentElementId?: string
Sets the Parent Element Id of the error screen.
• retryHandler?
• ...rest?: any[]
Returns
HTMLElement
The newly created full screen error HTMLElement
Deprecated
Use displayConfigurableFullScreenError instead.