# oops

🔥 Error handling library with context, assertion, stack trace and source fragments

Canonical page: https://www.reposhelf.co.uk/projects/github/samber/oops.html

- Project ID: samber/oops
- Source: GitHub
- Original project: https://github.com/samber/oops
- Description attribution: project author metadata
- Categories: Other
- Technologies: Go
- Licence: MIT
- Repository availability checked: 2026-11-05T00:08:11.802Z
- Demo page loaded: 2026-11-23T16:56:04.845Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Transform your Go error handling from "oops\!" to "aha\!" moments

> Oops is a comprehensive Go error handling library that provides structured error management with rich contextual information. It's designed as a drop-in replacement for Go's built-in error, adding powerful features like stack traces, source code fragments, structured attributes, and developer-friendly debugging hints.

> Important: This is NOT a logging library. oops should complements your existing logging toolchain \(zap, zerolog, logrus, slog, go-sentry...\).

- 🔧 Drop-in Replacement: Seamlessly replaces standard Go error handling
- 📊 Rich Context: Add structured attributes, user info
- 🐛 Debug-Friendly: Out-of-the-box stacktraces and source code fragments
- 🔗 Error Chaining: Wrap and compose errors with additional context
- 🛡️ Panic Recovery: Built-in panic handling with error conversion

## Author-documented requirements and audience

> Transform your Go error handling from "oops\!" to "aha\!" moments





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/samber/oops/blob/main/README.md

Extraction checked: 2026-11-05T00:08:11.922Z

Last recorded source update: 2026-11-01T19:35:09.000Z

Saved release: v1.23.2 — 2026-09-14T18:43:22.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=samber%2Foops). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
