We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Title: Implement Error Handling for Index and Search Endpoints
Description: Handle common errors for the HTTP API endpoints to ensure robust and user-friendly responses.
Acceptance Criteria:
400 Bad Request
404 Not Found
500 Internal Server Error
Response Examples:
{ "status": "error", "message": "Missing required fields." }
{ "status": "error", "message": "No matching results found." }
{ "status": "error", "message": "An unexpected error occurred. Please try again later." }
Tasks:
/index
/search
The text was updated successfully, but these errors were encountered:
farhoud
No branches or pull requests
Title: Implement Error Handling for Index and Search Endpoints
Description:
Handle common errors for the HTTP API endpoints to ensure robust and user-friendly responses.
Acceptance Criteria:
400 Bad Request
error for missing required fields.404 Not Found
error for no matching search results.500 Internal Server Error
for unexpected server errors.Response Examples:
Tasks:
/index
endpoint./search
endpoint.The text was updated successfully, but these errors were encountered: