UNPKG

@gam-test/fetch-wrapper

Version:

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

14 lines (12 loc) 284 B
type Params = { url: string; content: unknown; cause: Error; }; declare class UnexpectedResponseException extends Error { url: string; content: unknown; cause: Error; constructor({ url, content, cause }: Params); } export { UnexpectedResponseException };