awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعخادم MCPحولكيفية ترتيب النتائجالصحافة
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
go-errors avatar

go-errors/errors

0
View on GitHub↗
1,005 نجوم·90 تفرعات·Go·MIT·14 مشاهداتgodoc.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.

سجل النجوم

مخطط تاريخ النجوم لـ go-errors/errorsمخطط تاريخ النجوم لـ go-errors/errors

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ go-errors/errors؟

الميزات الرئيسية لـ go-errors/errors هي: Error Handling, Stack Trace Capture, Go Debugging Utilities, Error Handling Libraries, Panic Stack Trace Parsers, Standardized Error Traits, Error Wrapping Utilities, Stack Utilities.

ما هي البدائل مفتوحة المصدر لـ go-errors/errors؟

تشمل البدائل مفتوحة المصدر لـ go-errors/errors: 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…

بدائل مفتوحة المصدر لـ Errors

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Errors.
  • dtolnay/anyhowالصورة الرمزية لـ dtolnay

    dtolnay/anyhow

    6,569عرض على GitHub↗

    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
    عرض على GitHub↗6,569
  • maruel/panicparseالصورة الرمزية لـ maruel

    maruel/panicparse

    3,711عرض على GitHub↗

    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
    عرض على GitHub↗3,711
  • dtolnay/thiserrorالصورة الرمزية لـ dtolnay

    dtolnay/thiserror

    5,459عرض على GitHub↗

    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
    عرض على GitHub↗5,459
  • pkg/errorsالصورة الرمزية لـ pkg

    pkg/errors

    8,258عرض على GitHub↗

    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
    عرض على GitHub↗8,258
عرض جميع البدائل الـ 30 لـ Errors→

مجموعات مختارة تضم Errors

مجموعات منسقة بعناية يظهر فيها Errors.
  • Error management library