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 don't think there's a lot of value including errors like ActionRequestValidation or Parsing in ApiError. It's really meant to be a structure that you can easily programmatically match on and respond to. But there isn't really much you can do with parsing errors.
We have this distinction between 'errors you can deal with' and errors you can log and fail with' in elastic`, so we should do the same here and capture other errors from the API elsewhere.
The text was updated successfully, but these errors were encountered:
A bit of a papercut with the API response as it is is that it doesn't capture backtraces like client errors. I want the error to be easily matchable in a result, but this is kind of unfortunate.
I don't think there's a lot of value including errors like
ActionRequestValidation
orParsing
inApiError
. It's really meant to be a structure that you can easily programmatically match on and respond to. But there isn't really much you can do with parsing errors.We have this distinction between 'errors you can deal with' and
errors you can log and fail with' in
elastic`, so we should do the same here and capture other errors from the API elsewhere.The text was updated successfully, but these errors were encountered: