feat: add @actions/cache
This commit is contained in:
22
node_modules/@azure/ms-rest-js/es/lib/restError.js
generated
vendored
Normal file
22
node_modules/@azure/ms-rest-js/es/lib/restError.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
import { __extends } from "tslib";
|
||||
var RestError = /** @class */ (function (_super) {
|
||||
__extends(RestError, _super);
|
||||
function RestError(message, code, statusCode, request, response, body) {
|
||||
var _this = _super.call(this, message) || this;
|
||||
_this.code = code;
|
||||
_this.statusCode = statusCode;
|
||||
_this.request = request;
|
||||
_this.response = response;
|
||||
_this.body = body;
|
||||
Object.setPrototypeOf(_this, RestError.prototype);
|
||||
return _this;
|
||||
}
|
||||
RestError.REQUEST_SEND_ERROR = "REQUEST_SEND_ERROR";
|
||||
RestError.REQUEST_ABORTED_ERROR = "REQUEST_ABORTED_ERROR";
|
||||
RestError.PARSE_ERROR = "PARSE_ERROR";
|
||||
return RestError;
|
||||
}(Error));
|
||||
export { RestError };
|
||||
//# sourceMappingURL=restError.js.map
|
||||
Reference in New Issue
Block a user