@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
16 lines • 598 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.EntNotInsertableError = void 0;
const EntAccessError_1 = require("./EntAccessError");
/**
* Error: thrown when an Ent cannot be inserted due to privacy reasons.
*/
class EntNotInsertableError extends EntAccessError_1.EntAccessError {
constructor(entName, vc, row, cause = null) {
super(entName, `${entName}: cannot insert in ${vc}`, cause);
this.vc = vc;
this.row = row;
}
}
exports.EntNotInsertableError = EntNotInsertableError;
//# sourceMappingURL=EntNotInsertableError.js.map
;