UNPKG

@gam-test/fetch-wrapper

Version:

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

16 lines (14 loc) 513 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _RequestExceptionjs = require('./RequestException.js'); class InternalServerErrorException extends _RequestExceptionjs.RequestException { constructor({ url }) { super({ message: "Internal Server Error", url, payload: null, statusCode: 500, responseBody: null }); } } exports.InternalServerErrorException = InternalServerErrorException; //# sourceMappingURL=InternalServerErrorException.js.map