Passport: AccessTokenController::issueToken misses throws annotation ... #39365
Answered
by
DeepDiver1975
DeepDiver1975
asked this question in
General
-
AccessTokenController:issueToken uses withErrorHandling which can throw an OAuthException. As a result issueToken should throw the same exception. Change has been proposed in this PR: laravel/passport#1468 |
Beta Was this translation helpful? Give feedback.
Answered by
DeepDiver1975
Oct 26, 2021
Replies: 1 comment
-
As per coding style cascading exceptions are not documented. Not perfect but acceptable. THX @driesvints for the explanation |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DeepDiver1975
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per coding style cascading exceptions are not documented. Not perfect but acceptable.
THX @driesvints for the explanation