express-jwt-authz icon indicating copy to clipboard operation
express-jwt-authz copied to clipboard

Use AuthenticationError

Open yliaho opened this issue 6 years ago • 1 comments

How's this for error handling? I feel like giving an actual error object when the user wants to failWithError is better than a plain object. All the previous properties are still accessible.

yliaho avatar Apr 24 '19 17:04 yliaho

Thanks for the PR @yliaho, can you please write a test for this?

luisrudge avatar May 25 '19 13:05 luisrudge

Closing due to innactivity

adamjmcgrath avatar Jul 06 '23 09:07 adamjmcgrath