Modernize error handling.
Review Request #14913 — Created March 17, 2026 and submitted — Latest diff uploaded
This change makes a couple changes to the way errors are handled in
rb-gateway:
- Replaced
fmt.Errorf("...: %s", err.Error())with
fmt.Errorf("...: %w", err) - Fixed string-based comparison of "object not found" errors to instead
useerrors.Is(...)
Ran unit tests.