meilisearch-java
meilisearch-java copied to clipboard
Update generic exception `MeilisearchException` to throw more accurate Exception
Pull Request
Related issue
Fixes #678
What does this PR do?
- PR updates the generic exception(MeilisearchException) throws from function to exact exception throws
- Created a new exception MeilisearchUrlException for handling MalformedUrlException
PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!