MCPcopy
hub / github.com/gpustack/gpustack / HTTPException

Class HTTPException

gpustack/api/exceptions.py:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21class HTTPException(Exception):
22 def __init__(self, status_code: int, reason: str, message: str):
23 self.status_code = status_code
24 self.reason = reason
25 self.message = message
26
27
28class OpenAIAPIException(HTTPException):

Callers 15

grafana_proxyFunction · 0.85
prometheus_proxyFunction · 0.85
validate_path_securityFunction · 0.85
read_model_configFunction · 0.85
file_existsFunction · 0.85
get_model_weight_sizeFunction · 0.85
parse_gguf_fileFunction · 0.85
proxyFunction · 0.85
tunnelFunction · 0.85
get_clientFunction · 0.85
get_client_connectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected