(message = 'Authentication failed')
| 32 | * Creates an authentication error (401) |
| 33 | */ |
| 34 | export function createAuthError(message = 'Authentication failed'): HttpError { |
| 35 | return createHttpError(message, 401) |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Creates a forbidden error (403) |
no test coverage detected