@slynova/flydrive
Version:
Flexible and Fluent way to manage storage in Node.js.
18 lines • 569 B
JavaScript
;
/**
* @slynova/flydrive
*
* @license MIT
* @copyright Slynova - Romain Lanz <romain.lanz@slynova.ch>
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.WrongKeyPath = void 0;
const node_exceptions_1 = require("node-exceptions");
class WrongKeyPath extends node_exceptions_1.RuntimeException {
constructor(err, path) {
super(`The key path does not exist: ${path}\n${err.message}`, 500, 'E_WRONG_KEY_PATH');
this.raw = err;
}
}
exports.WrongKeyPath = WrongKeyPath;
//# sourceMappingURL=WrongKeyPath.js.map