UNPKG

@gam-test/fetch-wrapper

Version:

A simple fetch wrapper for better error handling and less response context

12 lines (9 loc) 267 B
import { RequestException } from './RequestException.js'; type Params = { url: string; payload: unknown | null; }; declare class UnauthorizedException extends RequestException { constructor({ url, payload }: Params); } export { UnauthorizedException };