Errors section in readme updated

This commit is contained in:
onyx-and-iris 2023-08-11 22:35:25 +01:00
parent 6fa24fe609
commit f88e8ee3a6

View File

@ -128,7 +128,9 @@ def on_scene_created(data):
### Errors
If a request fails an `OBSSDKError` will be raised with a status code.
A base error class `OBSSDKError` may be used to catch OBSSDK error types.
If a request returns an error code an `OBSSDKRequestError` will be raised.
For a full list of status codes refer to [Codes](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#requeststatus)