defradb
defradb copied to clipboard
Remove strings.Contains checks for SourceHub errors
Currently SourceHub errors to not work with errors.Is
and are checked with strings.Contains
. Use errors.Is
when SourceHub supports it.
There is at least one todo in the codebase as of https://github.com/sourcenetwork/defradb/pull/2657 targeting this issue.