你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ErrorModel interface
错误对象。 根据 Microsoft One API 指南 - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses。
属性
code | 服务器定义的错误代码集之一。 可能的值包括:“BadArgument”、“Forbidden”、“NotFound”、“KbNotFound”、“Unauthorized”、“Unspecified”、“EndpointKeysError”、“QuotaExceededed”、“QnaRuntimeError”、“SKULimitExceeded”、“OperationNotFound”、“ServiceError”、“ValidationFailure”、“ExtractFailure” |
details | 有关导致此报告错误的特定错误的详细信息数组。 |
inner |
一个 对象,该对象包含比当前对象更具体的错误信息。 |
message | 错误的可读表示形式。 |
target | 错误的目标。 |
属性详细信息
code
服务器定义的错误代码集之一。 可能的值包括:“BadArgument”、“Forbidden”、“NotFound”、“KbNotFound”、“Unauthorized”、“Unspecified”、“EndpointKeysError”、“QuotaExceededed”、“QnaRuntimeError”、“SKULimitExceeded”、“OperationNotFound”、“ServiceError”、“ValidationFailure”、“ExtractFailure”
code: ErrorCodeType
属性值
details
innerError
message
错误的可读表示形式。
message?: string
属性值
string
target
错误的目标。
target?: string
属性值
string