Closed badeball closed 5 years ago
Hi Jonas,
definitely, it's already part of 3.x (to be released, check out the browser-support
branch wip).
If you open a PR with that exact change i'll be happy to merge or just check for the error.name in the meantime.
Hi,
Awesome job on the lib, @panva. I've really appriciated looking through the code and especially the tests, to learn what openid is.
I'm currently trying to test error paths in my application and want to assert that an error is in fact the expected openid error, preferably without checking the message text.
Would it be possibly for you to expose the error class, like you've done in the provider library?
Regards
Jonas