@quarks/quarks-iam
Version:
A modern authorization server built to authenticate your users and protect your APIs
25 lines (18 loc) • 384 B
JavaScript
/**
* Module dependencies
*/
var util = require('util')
/**
* InsufficientScopeError
*/
function InsufficientScopeError () {
this.name = 'InsufficientScopeError'
this.message = 'insufficient_scope'
this.description = 'Insufficient scope'
this.statusCode = 400
}
util.inherits(InsufficientScopeError, Error)
/**
* Exports
*/
module.exports = InsufficientScopeError