Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ ErrorResponse
Class
ErrorResponse
fastdeploy/entrypoints/openai/protocol.py:56–61 ·
view source on GitHub ↗
Error response from OpenAI API.
Source
from the content-addressed store, hash-verified
54
55
56
class
ErrorResponse(BaseModel):
57
""
"
58
Error response
from
OpenAI API.
59
""
"
60
61
error: ErrorInfo
62
63
64
class
ErrorInfo(BaseModel):
Callers
15
handle_exception
Method · 0.90
handle_request_validation_exception
Method · 0.90
_create_error_response
Method · 0.90
create_completion
Method · 0.90
completion_full_generator
Method · 0.90
completion_stream_generator
Method · 0.90
create_chat_completion
Method · 0.90
_create_streaming_error_response
Method · 0.90
chat_completion_full_generator
Method · 0.90
control_scheduler
Function · 0.90
list_models
Method · 0.90
_preprocess
Method · 0.90
Calls
no outgoing calls
Tested by
3
test_chat_and_completion_routes
Function · 0.72
test_valid_error_response
Method · 0.72
test_missing_message_field
Method · 0.72