你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReportableException interface

所有自定义异常的异常对象

属性

actionableMessage

此异常的可作步骤

filePath

发生异常的文件的路径

hResult

分配给特定异常的编码数值

lineNumber

发生异常的行号

message

错误消息

stackTrace

堆栈跟踪

属性详细信息

actionableMessage

此异常的可作步骤

actionableMessage?: string

属性值

string

filePath

发生异常的文件的路径

filePath?: string

属性值

string

hResult

分配给特定异常的编码数值

hResult?: number

属性值

number

lineNumber

发生异常的行号

lineNumber?: string

属性值

string

message

错误消息

message?: string

属性值

string

stackTrace

堆栈跟踪

stackTrace?: string

属性值

string