mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-06 20:47:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.193.0
This commit is contained in:
@@ -7,6 +7,7 @@ Handling errors in this SDK should largely match your expectations. All operati
|
||||
|
||||
```python
|
||||
import plex_api
|
||||
from plex_api.models import errors
|
||||
|
||||
s = plex_api.PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
@@ -17,10 +18,10 @@ res = None
|
||||
try:
|
||||
res = s.server.get_server_capabilities()
|
||||
except errors.GetServerCapabilitiesResponseBody as e:
|
||||
print(e) # handle exception
|
||||
# handle exception
|
||||
raise(e)
|
||||
except errors.SDKError as e:
|
||||
print(e) # handle exception
|
||||
# handle exception
|
||||
raise(e)
|
||||
|
||||
if res.object is not None:
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
import LanguageSelector from 'src/components/LanguageSelector';
|
||||
import { H2 } from "src/components/TextHeaderWrapper";
|
||||
|
||||
<H2>Errors <LanguageSelector/></H2>
|
||||
|
||||
{/* render errors */}
|
||||
Reference in New Issue
Block a user