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
We're currently throwing ObjectBoxException as well as Exception.
Either get rid of the former or use it in all places?
Or actually use more specific classes, depending on what kind of exception it is? Like ArgumentError, StateError and reserve the generic Exception for cases when we can't do any better?
What's the best practice?
The text was updated successfully, but these errors were encountered:
We're currently throwing
ObjectBoxException
as well asException
.ArgumentError
,StateError
and reserve the genericException
for cases when we can't do any better?The text was updated successfully, but these errors were encountered: