Make MeilisearchException as RuntimeException
junghoon-vans opened this issue · comments
Description
Currently, all exceptions thrown by the client inherit from the MeilisearchException.class
.
However, MeilisearchException is a checked exception, so users who use it must handle the exception.
but enforcing this behavior is not modern.
Basic example
My suggestion is to change the MeilisearchException to a RuntimeException
.
Users can only handle the exception if they need to.
Other
As far as I know, almost all datastore clients are designed to throw RuntimeException.