MCPcopy Index your code
hub / github.com/PaddlePaddle/FastDeploy / EngineError

Class EngineError

fastdeploy/utils.py:161–166  ·  view source on GitHub ↗

Base exception class for engine errors

Source from the content-addressed store, hash-verified

159
160
161class EngineError(Exception):
162 """Base exception class for engine errors"""
163
164 def __init__(self, message, error_code=400):
165 super().__init__(message)
166 self.error_code = error_code
167
168
169class ParameterError(Exception):

Callers 7

insert_tasksMethod · 0.90
startMethod · 0.90
add_requestMethod · 0.90
generateMethod · 0.90
add_requestsMethod · 0.90
generateMethod · 0.90
add_requestsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected