Spaces:
Paused
Paused
Download exceptions/GPTException.py from imseldrith/chatx: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/spaces/imseldrith/chatx/resolve/main/exceptions/GPTException.py
- Command line
-
hf download hf://spaces/imseldrith/chatx/exceptions/GPTException.py
-
curl -L -o GPTException.py https://huggingface.co/spaces/imseldrith/chatx/resolve/main/exceptions/GPTException.py
157 Bytes
| class GPTException(Exception): | |
| def __init__(self, message, status_code=400): | |
| super().__init__(message) | |
| self.status_code = status_code | |