Categories

1 page

errors

The error package the phpboyscout estate owns, written to replace cockroachdb/errors across every Go module. It carries stack traces, user-facing hints (what you should actually do about a failure, not just what went wrong), structured attributes for logging, and an aggregate that behaves the way the standard library's does, so nothing goes missing below a Join. It imports nothing outside the standard library, and a test enforces that rather than trusting anyone's good intentions. Wire serialization and OpenTelemetry attach later as separate modules instead of riding along in the core.

errors