UNPKG

@camunda8/sdk

Version:

[![NPM](https://nodei.co/npm/@camunda8/sdk.png)](https://www.npmjs.com/package/@camunda8/sdk)

7 lines (6 loc) 355 B
import * as Got from 'got'; export declare class HTTPError extends Got.HTTPError { statusCode: number; constructor(response: Got.Response<unknown>); } export type RestError = HTTPError | Got.RequestError | Got.ReadError | Got.ParseError | Got.TimeoutError | Got.CancelError | Got.CacheError | Got.MaxRedirectsError | Got.UnsupportedProtocolError;