You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: