Skip to content

Conversation

@arabold
Copy link
Owner

@arabold arabold commented Sep 28, 2025

Enhance error handling and input validation across various tools, ensuring user-friendly error messages and improved clarity in error types. Clean up import paths for consistency.

- Updated GetJobInfoTool to throw ToolError for not found jobs and added input validation.
- Enhanced RemoveTool with validation for library name and version existence checks, throwing ToolError when necessary.
- Improved ScrapeTool to validate inputs and throw ValidationError for invalid formats.
- Refactored SearchTool to throw VersionNotFoundInStoreError and LibraryNotFoundInStoreError with detailed messages.
- Removed obsolete errors test file and adjusted error classes for better clarity and usage.
- Updated job-related routes to handle ToolError and ValidationError appropriately, returning user-friendly messages.
- Cleaned up import paths in various components for consistency.
@arabold arabold merged commit 6f678a9 into main Sep 28, 2025
2 checks passed
@arabold arabold deleted the feature/error-cleanup branch September 28, 2025 19:15
@github-actions
Copy link

github-actions bot commented Oct 4, 2025

🎉 This PR is included in version 1.26.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants