@azure/ms-rest-js
Version:
Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest
14 lines • 614 B
TypeScript
import { HttpOperationResponse } from "./httpOperationResponse";
import { WebResourceLike } from "./webResource";
export declare class RestError extends Error {
static readonly REQUEST_SEND_ERROR: string;
static readonly REQUEST_ABORTED_ERROR: string;
static readonly PARSE_ERROR: string;
code?: string;
statusCode?: number;
request?: WebResourceLike;
response?: HttpOperationResponse;
body?: any;
constructor(message: string, code?: string, statusCode?: number, request?: WebResourceLike, response?: HttpOperationResponse, body?: any);
}
//# sourceMappingURL=restError.d.ts.map