frontend/.pnpm-store/v3/files/d8/581d20824fe4108689c0d0910f3f5840ecd0280dabdf7e1155a2f62fbbd15baf3eddbb8970d58f658298dc64f44ec2603be78fd846cd797cf48a9a8e4aecb8

18 lines
597 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Error subclass to use when the source has not been modified.
*
* @param {String} message optional "message" property to set
* @api protected
*/
class NotModifiedError extends Error {
constructor(message) {
super(message ||
'Source has not been modified since the provied "cache", re-use previous results');
this.code = 'ENOTMODIFIED';
Object.setPrototypeOf(this, new.target.prototype);
}
}
exports.default = NotModifiedError;
//# sourceMappingURL=notmodified.js.map