UNPKG

@typespec/ts-http-runtime

Version:

Isomorphic client library for making HTTP requests in node.js and browser.

11 lines 474 B
import { RestError } from "../restError.js"; import type { PathUncheckedResponse } from "./common.js"; /** * Creates a rest error from a PathUnchecked response */ export declare function createRestError(response: PathUncheckedResponse): RestError; /** * Creates a rest error from an error message and a PathUnchecked response */ export declare function createRestError(message: string, response: PathUncheckedResponse): RestError; //# sourceMappingURL=restError.d.ts.map