UNPKG

538 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3/**
4 * Error subclass to use when the source has not been modified.
5 *
6 * @param {String} message optional "message" property to set
7 * @api protected
8 */
9class NotModifiedError extends Error {
10 constructor(message) {
11 super(message ||
12 'Source has not been modified since the provied "cache", re-use previous results');
13 this.code = 'ENOTMODIFIED';
14 }
15}
16exports.default = NotModifiedError;
17//# sourceMappingURL=notmodified.js.map
\No newline at end of file