Skip to content

Commit 4993860

Browse files
committed
GH-22: Complete the "Error handling" section of the docs
1 parent aa8f4b3 commit 4993860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/references/tutorials.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ The complete list of exceptions is the following.
150150
- `OAuth2AuthenticationError` - An exception is raised when the authentication fails.
151151
- `OAuth2InvalidRequestError` - An exception is raised when the request is invalid.
152152

153-
The request is considered invalid when one of mandatory parameters such as `state` or `code` is missing or the request
154-
did not succeed.
153+
The request is considered invalid when one of the mandatory parameters, such as `state` or `code` is missing or the
154+
request fails. And the errors that occur during the OAuth steps are considered authentication errors.
155155

156156
<style>
157157
.info, .details {

0 commit comments

Comments
 (0)