MCPcopy
hub / github.com/TaskingAI/TaskingAI / raise_request_validation_error

Function raise_request_validation_error

backend/tkhelper/error/error_code.py:76–80  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

74
75
76def raise_request_validation_error(message: str):
77 raise HTTPException(
78 status_code=error_messages[ErrorCode.REQUEST_VALIDATION_ERROR]["status_code"],
79 detail={"error_code": ErrorCode.REQUEST_VALIDATION_ERROR, "message": message},
80 )

Callers 15

verify_model_credentialsFunction · 0.90
updateMethod · 0.90
_validate_toolsFunction · 0.90
_validate_retrievalsFunction · 0.90
createMethod · 0.90
check_path_paramsFunction · 0.90
validate_list_filterFunction · 0.90
api_chat_completionFunction · 0.90
convert_messageFunction · 0.90
check_file_sizeFunction · 0.90
check_extFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected