UNPKG

@quarks/quarks-iam

Version:

A modern authorization server built to authenticate your users and protect your APIs

24 lines (17 loc) 289 B
/** * Module dependencies */ var util = require('util') /** * NotFoundError */ function NotFoundError () { this.name = 'NotFoundError' this.message = 'Not found.' this.statusCode = 404 } util.inherits(NotFoundError, Error) /** * Exports */ module.exports = NotFoundError