Skip to content

error handling: introduce https://github.com/go-errors/errors

Jaime Nuche requested to merge T379357 into main

Replace usages of the default errors package with the new library. Errors created this way automatically include the call stack at the point of creation. This stack can then be used when reporting the error.

The new errors are to be used when:

  • A new error is being created
  • A library call returns a non-nil error

Bug: T379357

Merge request reports