UNPKG

@azure/cosmos

Version:
25 lines 864 B
/** * Represents an error response returned in operations. */ export class ErrorResponse extends Error { /** status or error code returned */ code; /** substatus code returned */ substatus; /** body of the error response, typically including error details */ body; /** HTTP headers */ headers; /** unique identifier for the operation's activity */ activityId; /** delay (in milliseconds) before retrying the operation. */ retryAfterInMs; /** delay (in milliseconds) before retrying the operation. */ /** Note: Use retryAfterInMs instead */ retryAfterInMilliseconds; /** Detailed diagnostic information associated with the error.*/ diagnostics; /** The request charge of the operation, representing the resource cost incurred.*/ requestCharge; } //# sourceMappingURL=ErrorResponse.js.map