DialogContextError class
An Error that includes extra dialog context, including the dialog stack.
- Extends
-
Error
Constructors
Dialog |
Construct a DialogError. |
Properties
dialog |
Represents the state of a dialog when an error occurred. |
error | |
Error |
Inherited Properties
message | |
name | |
stack |
Constructor Details
DialogContextError(Error | string, DialogContext)
Construct a DialogError.
new DialogContextError(error: Error | string, dialogContext: DialogContext)
Parameters
- error
-
Error | string
Source error or error message.
- dialogContext
- DialogContext
Dialog context that is the source of the error.
Property Details
dialogContext
Represents the state of a dialog when an error occurred.
dialogContext: { activeDialog?: string, parent?: string, stack: DialogInstance[] }
Property Value
{ activeDialog?: string, parent?: string, stack: DialogInstance[] }
error
error: Error | string
Property Value
Error | string
Error
static Error: ErrorConstructor
Property Value
ErrorConstructor
Inherited Property Details
message
message: string
Property Value
string
Inherited From Error.message
name
name: string
Property Value
string
Inherited From Error.name
stack
stack?: string
Property Value
string
Inherited From Error.stack