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
hi @benguild, that's a good point, currently the SDK doesn't provide a way to catch specific errors, so you end up having to using something like HasPrefix.
I have recently started working back again on adding all error types for all categories, see here, these errors should e caught by errors.Is, you can expect a release that covers this sometime in the next coming weeks.
It seems like the only way to catch stuff like this is with
string
comparison:… Am I missing something here? If not, it feels a bit delicate.
For example, if the API rejects a bad email address, we want to be able to catch that specific error.
The text was updated successfully, but these errors were encountered: