#`UnauthorizedException` thrown from external package in the workspace is treated as `Error`
2 messages · Page 1 of 1 (latest)
So I have found the issue, the UnauthorizedException imported and then thrown in the @my-app/package-firebase is not being treated as HttpException
const firebaseUserOrError = await firebaseAuthService.decodeIdToken(authorizationToken.slice(7)).catch((e: HttpException) => e);
console.log(firebaseUserOrError instanceof HttpException);
But how can I fix it?