Closed guggero closed 9 months ago
In this PR we wrap all errors so we can properly use errors.Is() to find the cause for any error. This is especially useful for database related problems, so the underlying database error can be unwrapped.
errors.Is()
Did some more regex foo and found a few more instances. Now there should really be none left (that aren't in test code).
In this PR we wrap all errors so we can properly use
errors.Is()
to find the cause for any error. This is especially useful for database related problems, so the underlying database error can be unwrapped.