UNPKG

@api.global/typedrequest

Version:

A TypeScript library for making typed requests towards APIs, including facilities for handling requests, routing, and virtual stream handling.

11 lines (9 loc) 263 B
import * as plugins from './plugins.js'; export class TypedResponseError { public errorText: string; public errorData: any; constructor(errorTextArg: string, errorDataArg?: any) { this.errorText = errorTextArg; this.errorData = errorDataArg; } }