exceptions
Exceptions for plisio.
PlisioAPIException
Bases: PlisioException
Plisio Exception.
Source code in src/plisio/exceptions.py
__init__(response, status_code, text)
Constructor.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
response |
Response
|
Response. |
required |
status_code |
int
|
Status code. |
required |
text |
str
|
Text. |
required |
Source code in src/plisio/exceptions.py
__str__()
String representation.
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
String representation. |
PlisioException
PlisioRequestException
Bases: PlisioException
Plisio Request Exception.