UNPKG

@gam-test/fetch-wrapper

Version:

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

16 lines 353 B
import { RequestException } from "./RequestException.js"; class NotFoundException extends RequestException { constructor({ url, responseBody }) { super({ message: "Not Found", url, payload: null, statusCode: 404, responseBody }); } } export { NotFoundException }; //# sourceMappingURL=NotFoundException.js.map