guarder
Version:
Guarder provides simple validation logic to reduce clutter with inline guard statements
13 lines • 421 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Guard Not Found Error is thrown when a custom guard cannot be found in the map
*/
class GuardNotFoundError extends Error {
constructor(message) {
super(message);
Object.setPrototypeOf(this, new.target.prototype);
}
}
exports.GuardNotFoundError = GuardNotFoundError;
//# sourceMappingURL=GuardNotFoundError.js.map