(message, statusCode = 401)
| 30 | */ |
| 31 | class AuthError extends Error { |
| 32 | constructor(message, statusCode = 401) { |
| 33 | super(message); |
| 34 | this.name = 'AuthError'; |
| 35 | this.statusCode = statusCode; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | const isAllowedOrigin = (origin) => _isAllowedOrigin(origin, origins); |
nothing calls this directly
no outgoing calls
no test coverage detected