Replies: 2 comments
-
It depends on what was being done on the connection at the time the error occurred. If a mutating query ( In our applications we generally treat any |
Beta Was this translation helpful? Give feedback.
-
Thanks @abonander. I was more interested in connection errors, in case DB is down or timeouts or issues not related to work done with DB itself. Those can be retried. But I dont know which are those errors in sqlx |
Beta Was this translation helpful? Give feedback.
-
Hi, I am wondering about error handling, in particular errors that result from connection issues and retrying is safe.
Is there any guidance on that?
For example sqlx::Error::Io(Error) seem to be retryable according to description.
Beta Was this translation helpful? Give feedback.
All reactions