UNPKG

@azure/cosmos

Version:
29 lines 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorResponse = void 0; /** * Represents an error response returned in operations. */ 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; } exports.ErrorResponse = ErrorResponse; //# sourceMappingURL=ErrorResponse.js.map