UNPKG

objection

Version:
15 lines (11 loc) 303 B
'use strict'; class RelationDoesNotExistError extends Error { constructor(relationName) { super(`unknown relation "${relationName}" in a relation expression`); this.name = this.constructor.name; this.relationName = relationName; } } module.exports = { RelationDoesNotExistError, };