Skip to content

Commit

Permalink
fix docs and __all__ for exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
treeben77 committed Jun 2, 2023
1 parent fd6ab3d commit e0690ea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/source/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Exceptions

Base exception for the library, raised when the library recieves an unexpected HTTP code.

.. exception:: InvalidToken()
.. exception:: InvalidKey()

The api key is invalid or doesn't have sufficent permissions to do the requested task.

Expand Down Expand Up @@ -50,3 +50,21 @@ Exceptions
Text in the request was filtered by Roblox.

.. versionadded:: 1.3

.. exception:: InvalidCode()

The oauth2 code/access token/refresh token is invalid.

.. versionadded:: 1.3

.. exception:: InsufficientScope()

The oauth2 authorization doesn't have the required scope.

.. versionadded:: 1.3

.. attribute:: scope

space-seperated string of scopes Roblox expected.

:type: str
1 change: 1 addition & 0 deletions rblxopencloud/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"PreconditionFailed",
"InsufficientScope",
"InvalidAsset",
"InvalidCode"
"ModeratedText"
)

Expand Down

0 comments on commit e0690ea

Please sign in to comment.