Should jose catch base64 decode errors? #134
-
Thanks for the library Filip! Not sure if it's intended to be this way so I thought I better ask. In a browser environment, I've tried to call Is this expected or should it rethrow something more user-friendly e.g. https://github.com/panva/jose/blob/master/docs/classes/_util_errors_.jwtinvalid.md? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@maximivanov I think it may re-throw as a TypeError instead. I'm hesitant to assign a JOSE specific error or code. To be released with the next fix/feature release. c886f77 |
Beta Was this translation helpful? Give feedback.
@maximivanov I think it may re-throw as a TypeError instead. I'm hesitant to assign a JOSE specific error or code. To be released with the next fix/feature release. c886f77