{"library":"fetch-error","type":"library","category":null,"description":"A specialized error class for the Fetch API, wrapping HTTP error responses with status code, status text, and optional response object. Version 1.0.0 stable, maintained on a semantic versioning cadence. Unlike generic Error, it allows instanceof checks and carries structured error info. Designed to pair with fetch() for clean error handling.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","error","errors","exception","fetch","http"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-error","imports":["import FetchError from 'fetch-error'","const FetchError = require('fetch-error')","// @ts-ignore\nconst FetchError = require('fetch-error')"]},{"cmd":"yarn add fetch-error","imports":[]},{"cmd":"pnpm add fetch-error","imports":[]}],"homepage":"https://github.com/moll/js-fetch-error","github":"git://github.com/moll/js-fetch-error","docs":null,"changelog":null,"pypi":null,"npm":"fetch-error","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}