Overview of Oops structured error handling
mainOops is a structured error management library for Go designed to provide rich contextual information during error handling. It acts as a drop-in replacement for the standard error interface.
Key capabilities include:
- Rich Context: Adding structured attributes and user metadata.
- Debugging: Automatic stack traces and source code fragments.
- Error Chaining: Wrapping and composing errors.
- Panic Recovery: Built-in handling and conversion.
- Assertions: One-line helpers for validation.
Note: Oops is NOT a logging library. It is designed to complement your existing logging toolchain (e.g., zap, zerolog, logrus, slog, go-sentry) by providing the structured data that those loggers can then emit.