UNPKG

@gam-test/fetch-wrapper

Version:

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

16 lines 390 B
import { RequestException } from "./RequestException.js"; class InternalServerErrorException extends RequestException { constructor({ url }) { super({ message: "Internal Server Error", url, payload: null, statusCode: 500, responseBody: null }); } } export { InternalServerErrorException }; //# sourceMappingURL=InternalServerErrorException.js.map