UNPKG

@gam-test/fetch-wrapper

Version:

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

16 lines 385 B
import { RequestException } from "./RequestException.js"; class PayloadTooLargeException extends RequestException { constructor({ url, payload, responseBody }) { super({ message: "Payload Too Large", url, payload, statusCode: 413, responseBody }); } } export { PayloadTooLargeException }; //# sourceMappingURL=PayloadTooLargeException.js.map