You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					18 lines
				
				597 B
			
		
		
			
		
	
	
					18 lines
				
				597 B
			| 
											3 years ago
										 | "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
 |