AuthError.js 191 B

1234567891011
  1. 'use strict'
  2. class AuthError extends Error {
  3. constructor () {
  4. super('Authorization required')
  5. this.name = 'AuthError'
  6. this.isAuthError = true
  7. }
  8. }
  9. module.exports = AuthError