UNPKG

node-fence

Version:

Flexible and Fluent way to manage ACL in Node.js.

10 lines (6 loc) 268 B
'use strict' const NE = require('node-exceptions') class InvalidUser extends NE.LogicalException {} class GateNotFound extends NE.LogicalException {} class PolicyNotFound extends NE.LogicalException {} module.exports = { InvalidUser, GateNotFound, PolicyNotFound }