共用方式為


DialogContextError class

包含額外對話內容的錯誤,包括對話方塊堆疊。

Extends

Error

建構函式

DialogContextError(Error | string, DialogContext)

建構 DialogError。

屬性

dialogContext

表示發生錯誤時對話方塊的狀態。

error
Error

繼承的屬性

message
name
stack

建構函式詳細資料

DialogContextError(Error | string, DialogContext)

建構 DialogError。

new DialogContextError(error: Error | string, dialogContext: DialogContext)

參數

error

Error | string

來源錯誤或錯誤訊息。

dialogContext
DialogContext

對話方塊內容,這是錯誤的來源。

屬性詳細資料

dialogContext

表示發生錯誤時對話方塊的狀態。

dialogContext: { activeDialog?: string, parent?: string, stack: DialogInstance[] }

屬性值

{ activeDialog?: string, parent?: string, stack: DialogInstance[] }

error

error: Error | string

屬性值

Error | string

Error

static Error: ErrorConstructor

屬性值

ErrorConstructor

繼承的屬性詳細資料

message

message: string

屬性值

string

繼承自 Error.message

name

name: string

屬性值

string

繼承自 Error.name

stack

stack?: string

屬性值

string

繼承自 Error.stack