This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ERLFDB_IS_RETRYABLE/2 guard
This is a guard which may be used to catch and handle retryable errors. It's more ergonomic as a guard than a function, since the handler won't have to catch and re-throw unwanted (non-retryable) exceptions. Along with a guard, some common FDB error codes are also defined. It's not an exhaustive list and mostly consists of retryable and a few other common errors.
- Loading branch information
Showing 1 changed file with 34 additions and 2 deletions.