Replies: 1 comment 1 reply
|
yeah, looks like there isn't one I checked current main at For local/client/runtime failures, check |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What happened?
Hello,
Thanks for the library. I'm a bit unsure of the right way to handle errors with the
refreshTokenGrantmethod. I'm not sure if this is a bug so hope you will forgive the issue if not. Ultimately I want to do this...The docs don't make it clear on what
refreshTokenGrantthrows however.I had a poke about in the source (read
errorHandler) and I can see that it is rethrowing errors from theoauth4webapilibrary in many cases (so I could try install that library and catch those errors) but there is another ClientError type too.So my question ultimately is what is the right way to do this? And assuming you agree with the above the request is for the docs to make that clear. Please tell me if I'm doing something stupid.
Many thanks
Version
v6.8.4
Runtime
Select an option
Runtime Details
Node 24
Code to reproduce
Required
All reactions