Modernize error handling.

Review Request #14913 — Created March 17, 2026 and submitted — Latest diff uploaded

Information

rb-gateway
master

Reviewers

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
    use errors.Is(...)

Ran unit tests.

Commits

Files