Freigeben über


ErrorModel interface

Properties

code

One of a server-defined set of error codes. Possible values include: 'BadArgument', 'Forbidden', 'NotFound', 'KbNotFound', 'Unauthorized', 'Unspecified', 'EndpointKeysError', 'QuotaExceeded', 'QnaRuntimeError', 'SKULimitExceeded', 'OperationNotFound', 'ServiceError', 'ValidationFailure', 'ExtractionFailure'

details

An array of details about specific errors that led to this reported error.

innerError

An object containing more specific information than the current object about the error.

message

A human-readable representation of the error.

target

The target of the error.

Property Details

code

One of a server-defined set of error codes. Possible values include: 'BadArgument', 'Forbidden', 'NotFound', 'KbNotFound', 'Unauthorized', 'Unspecified', 'EndpointKeysError', 'QuotaExceeded', 'QnaRuntimeError', 'SKULimitExceeded', 'OperationNotFound', 'ServiceError', 'ValidationFailure', 'ExtractionFailure'

code: ErrorCodeType

Property Value

details

An array of details about specific errors that led to this reported error.

details?: ErrorModel[]

Property Value

innerError

An object containing more specific information than the current object about the error.

innerError?: InnerErrorModel

Property Value

message

A human-readable representation of the error.

message?: string

Property Value

string

target

The target of the error.

target?: string

Property Value

string