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
I'm wondering if it would be a good idea to expose the ResponseError constructors to allow users to make smarter decisions about errors.
For example the error type "Neo.ClientError.Schema.ConstraintValidationFailed" can sometimes be used to determine if there should be a user input error vs an internal server error. Similar to 400 vs 500 http error codes.
Or am I missing some other method to be able to distinguish between the error types in the KnownResponseFailure?
The text was updated successfully, but these errors were encountered:
I'm wondering if it would be a good idea to expose the
ResponseError
constructors to allow users to make smarter decisions about errors.For example the error type "Neo.ClientError.Schema.ConstraintValidationFailed" can sometimes be used to determine if there should be a user input error vs an internal server error. Similar to 400 vs 500 http error codes.
Or am I missing some other method to be able to distinguish between the error types in the
KnownResponseFailure
?The text was updated successfully, but these errors were encountered: