AuthError.js 225 B

12345678
  1. export default class AuthError extends Error {
  2. constructor(message, options) {
  3. super(message, options)
  4. this.name = "AuthError"
  5. this.resource = options?.resource
  6. this.permissions = options?.permissions
  7. }
  8. }