awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
go-errors avatar

go-errors/errors

0
View on GitHub↗
1,005 Stars·90 Forks·Go·MIT·17 Aufrufegodoc.org/github.com/go-errors/errors↗

Errors

errors is a Go error handling library and stack trace utility that wraps standard errors with execution call stacks and contextual information. It captures program execution paths at the exact moment an error is initialized, extracting granular file paths, line numbers, and function symbols from raw program counter addresses.

The library maintains parent-child relationships between wrapped errors to allow deep inspection, unwrapping of root causes, and combination of multiple errors into unified structures. It implements standard error interfaces so enhanced error objects can be used interchangeably with normal error returns throughout an application. Additionally, it provides panic recovery capabilities that intercept raw runtime panic output strings, converting them into structured error objects equipped with readable stack traces.

Diagnostic functions print detailed error messages and full stack traces to the console or logs, supporting advanced error formatting with custom messages, formatting strings, and stack depth skipping.

Features

  • Error Handling - Adds stack traces and contextual information to standard Go errors to simplify debugging and root cause analysis.
  • Stack Trace Capture - Records execution call stacks when errors occur so developers can inspect the exact execution path.
  • Go Debugging Utilities - Diagnoses backend service failures by capturing execution call stacks, file paths, and line numbers.
  • Error Handling Libraries - Wraps errors with execution stack traces and context in Go applications.
  • Panic Stack Trace Parsers - Converts raw panic text outputs from execution crashes into structured error objects containing stack traces.
  • Standardized Error Traits - Enhances standard errors with additional context and stack trace data without losing the original error message.
  • Error Wrapping Utilities - Constructs and wraps errors with custom messages, formatting strings, and stack depth skipping.
  • Stack Utilities - Provides a toolkit for capturing, formatting, and inspecting execution stack traces attached to errors in Go.
  • Full Cause Inspectors - Maintains parent-child error relationships to allow deep inspection and unwrapping of underlying root causes.
  • Panic Recovery - Intercepts raw runtime panic output strings and converts them into structured error objects with readable stack traces.
  • Runtime Call-Stack Capturers - Captures the program execution call stack into memory at the exact moment an error is initialized.
  • Stack Frame Navigators - Extracts granular file paths, line numbers, and function symbols from raw program counter addresses.
  • Wrapped Error Inspection - Queries and matches errors within hierarchies, extracts underlying causes, and combines multiple errors.
  • Stack Trace Readability Enhancers - Transforms raw captured execution stack traces into readable strings to simplify logging and inspection.
  • Stack Trace Inspections - Extracts detailed file paths, line numbers, function names, and source lines from captured error stack traces.

Star-Verlauf

Star-Verlauf für go-errors/errorsStar-Verlauf für go-errors/errors

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht go-errors/errors?

errors is a Go error handling library and stack trace utility that wraps standard errors with execution call stacks and contextual information. It captures program execution paths at the exact moment an error is initialized, extracting granular file paths, line numbers, and function symbols from raw program counter addresses.

Was sind die Hauptfunktionen von go-errors/errors?

Die Hauptfunktionen von go-errors/errors sind: Error Handling, Stack Trace Capture, Go Debugging Utilities, Error Handling Libraries, Panic Stack Trace Parsers, Standardized Error Traits, Error Wrapping Utilities, Stack Utilities.

Welche Open-Source-Alternativen gibt es zu go-errors/errors?

Open-Source-Alternativen zu go-errors/errors sind unter anderem: dtolnay/anyhow — Anyhow is a dynamic error handling library for Rust applications that provides a flexible error container using type… dtolnay/thiserror — thiserror is a Rust error handling library and procedural macro designed to define custom error types. It functions as… maruel/panicparse — Panicparse is a toolset for Go crash analysis and runtime debugging. It functions as a panic stack trace parser, a… pkg/errors — pkg/errors is a Go library that provides primitives for creating, annotating, and inspecting errors with stack traces… gopl-zh/gopl-zh.github.com — This project is a Chinese translation of a comprehensive guide to the Go programming language. It serves as a… cch123/golang-notes — This project is a technical reference and a collection of internal analysis notes focused on the Go language runtime…

Open-Source-Alternativen zu Errors

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Errors.
  • dtolnay/anyhowAvatar von dtolnay

    dtolnay/anyhow

    6,569Auf GitHub ansehen↗

    Anyhow is a dynamic error handling library for Rust applications that provides a flexible error container using type erasure. It serves as a tool for simplifying error signatures by wrapping diverse failure types into a single object, allowing for the propagation of any error that implements the standard error trait without requiring a custom enumeration for every function. The project functions as an error context provider by attaching high-level diagnostic information and recording execution stack traces at the point of failure. It enables the recovery of concrete error implementations from

    Rust
    Auf GitHub ansehen↗6,569
  • maruel/panicparseAvatar von maruel

    maruel/panicparse

    3,711Auf GitHub ansehen↗

    Panicparse is a toolset for Go crash analysis and runtime debugging. It functions as a panic stack trace parser, a race detector log parser, and a goroutine deduplicator designed to transform raw crash dumps and thread sanitizer output into structured, readable formats. The project distinguishes itself by converting complex stack traces into visual HTML reports with embedded source code. It reduces noise in highly parallelized processes by grouping identical goroutine stacks and prioritizes application code over standard library calls during parsing. The utility also covers live process moni

    Gocrashgopanic
    Auf GitHub ansehen↗3,711
  • dtolnay/thiserrorAvatar von dtolnay

    dtolnay/thiserror

    5,459Auf GitHub ansehen↗

    thiserror is a Rust error handling library and procedural macro designed to define custom error types. It functions as a trait implementation automator that generates the necessary code for standard library error traits at compile time. The library focuses on eliminating boilerplate by using derive macros to automatically implement display and source methods. It allows for the creation of custom error structs and enums that can map low-level errors to high-level variants while preserving the original cause and backtrace information. Its capabilities cover custom error formatting through temp

    Rust
    Auf GitHub ansehen↗5,459
  • pkg/errorsAvatar von pkg

    pkg/errors

    8,258Auf GitHub ansehen↗

    pkg/errors is a Go library that provides primitives for creating, annotating, and inspecting errors with stack traces and contextual information. Its core identity centers on capturing the call stack at the point of error creation or wrapping, preserving that information for later debugging and root cause analysis. The library distinguishes itself through a set of tightly integrated capabilities for error handling. It supports wrapping errors with descriptive messages while recording a new stack trace at the wrapping point, annotating existing errors with either a message or a stack trace ind

    Go
    Auf GitHub ansehen↗8,258
  • Alle 30 Alternativen zu Errors anzeigen→

    Kuratierte Suchen mit Errors

    Handverlesene Sammlungen, in denen Errors vorkommt.
    • Error management library