Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /amphetamarina_litellm /litellm /proxy /client /exceptions.py
| import requests | |
| class UnauthorizedError(Exception): | |
| """Exception raised when the API returns a 401 Unauthorized response.""" | |
| def __init__(self, orig_exception: requests.exceptions.HTTPError | str): | |
| self.orig_exception = orig_exception | |
| super().__init__(str(orig_exception)) | |
| class NotFoundError(Exception): | |
| """Exception raised when the API returns a 404 Not Found response or indicates a resource was not found.""" | |
| def __init__(self, orig_exception: requests.exceptions.HTTPError | str): | |
| self.orig_exception = orig_exception | |
| super().__init__(str(orig_exception)) | |
Xet Storage Details
- Size:
- 615 Bytes
- Xet hash:
- 4e41e00224134c23118eedc6821d5c0457da622f9750f23ffd7d14b4095e413b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.