@gam-test/fetch-wrapper
Version:
A simple fetch wrapper for better error handling and less response context
16 lines (14 loc) • 465 B
JavaScript
Object.defineProperty(exports, "__esModule", {value: true});var _RequestExceptionjs = require('./RequestException.js');
class NotFoundException extends _RequestExceptionjs.RequestException {
constructor({ url, responseBody }) {
super({
message: "Not Found",
url,
payload: null,
statusCode: 404,
responseBody
});
}
}
exports.NotFoundException = NotFoundException;
//# sourceMappingURL=NotFoundException.js.map
;