awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ehmicky avatar

ehmicky/modern-errors

0
View on GitHub↗
1,482 estrellas·20 forks·JavaScript·MIT·2 vistas

Modern Errors

This library provides a comprehensive framework for managing errors in JavaScript and TypeScript applications. It enables the creation of structured, type-safe error hierarchies, allowing developers to define custom error classes that ensure consistent behavior and categorization across a codebase.

The project distinguishes itself through a modular plugin architecture that allows for the extension of core error functionality, such as custom logging, serialization, and validation. It includes an exception normalization pipeline that converts non-standard or malformed errors into predictable instances, alongside mechanisms for aggregating multiple concurrent failures into a single parent object while preserving original stack traces.

Beyond core management, the library facilitates system-wide error handling by standardizing error responses for API communication and providing utilities for serializing error states across boundaries. It also includes features for property management, such as marking internal fields as non-enumerable to prevent sensitive data exposure, and provides tools for cleaning stack traces to improve debugging readability.

Features

  • Error Handling Libraries - Provides a comprehensive framework for defining, wrapping, and normalizing custom error classes in JavaScript and TypeScript.
  • Error Handling - Provides mechanisms and patterns for detecting, reporting, formatting, and resolving errors across various application layers.
  • Error Management Utilities - Enables the creation of structured error hierarchies and aggregation of multiple exceptions while preserving stack traces.
  • Custom Error Type Definitions - Supports the creation of specialized, type-safe error types to unify multiple failure modes.
  • Error Wrapping - Encapsulates multiple exceptions within a single parent object for unified reporting while preserving stack traces.
  • Error Code Hierarchies - Organizes error classes into a consistent hierarchy so callers can programmatically handle failures.
  • Plugin Systems - Provides a modular plugin system to extend error functionality, including serialization, logging, and validation.
  • Error Tracking and Exception Handling - Captures and formats process-level exceptions to ensure graceful exits and system stability.
  • HTTP Error Normalization - Normalizes unknown exceptions and malformed error objects into defined, predictable error instances to prevent runtime bugs.
  • Type Narrowing - Enables safe type narrowing of error instances within catch blocks to access custom properties and methods without runtime errors.
  • Structured Error Responses - Provides standardized object formats for delivering API errors with consistent identifiers and detail fields.
  • Error Handling Utilities - Offers a toolkit for building type-safe custom error classes with modular plugins for stack trace cleaning and output formatting.
  • Error Aggregation - Merges multiple concurrent failures or nested exceptions into a single parent error object while preserving stack traces.
  • Error Configuration Settings - Allows custom configuration of error behavior for specific classes or instances to control how errors are processed.
  • Exception Handling Pipelines - Implements configurable sequences of handlers that intercept and modify exception data to ensure predictable error instances.
  • JSON Error Serialization - Provides utilities to serialize complex error objects into structured formats for consistent cross-boundary communication.
  • Modular Plugin Architectures - Provides an architectural framework designed for extensibility via plugins to handle logging, serialization, and custom logic.
  • Modular Plugin Extensions - Provides a system for integrating third-party add-ons to extend the core functionality of an application.

Historial de estrellas

Gráfico del historial de estrellas de ehmicky/modern-errorsGráfico del historial de estrellas de ehmicky/modern-errors

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Colecciones destacadas con Modern Errors

Colecciones seleccionadas manualmente donde aparece Modern Errors.
  • Gestión de errores en API

Preguntas frecuentes

¿Qué hace ehmicky/modern-errors?

This library provides a comprehensive framework for managing errors in JavaScript and TypeScript applications. It enables the creation of structured, type-safe error hierarchies, allowing developers to define custom error classes that ensure consistent behavior and categorization across a codebase.

¿Cuáles son las características principales de ehmicky/modern-errors?

Las características principales de ehmicky/modern-errors son: Error Handling Libraries, Error Handling, Error Management Utilities, Custom Error Type Definitions, Error Wrapping, Error Code Hierarchies, Plugin Systems, Error Tracking and Exception Handling.

¿Qué alternativas de código abierto existen para ehmicky/modern-errors?

Las alternativas de código abierto para ehmicky/modern-errors incluyen: dtolnay/thiserror — thiserror is a Rust error handling library and procedural macro designed to define custom error types. It functions as… filp/whoops — Whoops is a PHP debugging tool and error handler designed to intercept and visualize exceptions and stack traces… rust-lang/rust-by-example — This project is an interactive programming education resource and tutorial designed for learning the Rust programming… thangchung/clean-code-dotnet — This project provides a comprehensive collection of best practices, architectural patterns, and coding standards for… opnsense/core — This project is the core management framework for a security appliance, providing the primary infrastructure for… crystal-lang/crystal — Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It…

Alternativas open-source a Modern Errors

Proyectos open-source similares, clasificados según cuántas características comparten con Modern Errors.
  • dtolnay/thiserrorAvatar de dtolnay

    dtolnay/thiserror

    5,459Ver en 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
    Ver en GitHub↗5,459
  • filp/whoopsAvatar de filp

    filp/whoops

    13,236Ver en GitHub↗

    Whoops is a PHP debugging tool and error handler designed to intercept and visualize exceptions and stack traces during application development. It functions as an exception renderer that converts errors into human-readable web pages or machine-readable responses. The project differentiates itself by providing a visual debugging interface with line-highlighted code views and a stack trace visualizer that links directly to source files in a local text editor or IDE. It employs environment-aware response resolution to automatically select between HTML, JSON, XML, or plain text output based on t

    PHPerror-handlingerrorsphp
    Ver en GitHub↗13,236
  • rust-lang/rust-by-exampleAvatar de rust-lang

    rust-lang/rust-by-example

    8,026Ver en GitHub↗

    This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre

    Handlebars
    Ver en GitHub↗8,026
  • thangchung/clean-code-dotnetAvatar de thangchung

    thangchung/clean-code-dotnet

    7,615Ver en GitHub↗

    This project provides a comprehensive collection of best practices, architectural patterns, and coding standards for the .NET ecosystem. It serves as a guide for developers to improve the readability, maintainability, and testability of C# applications by applying established software engineering principles. The repository focuses on enforcing consistent code style and structure through automated configuration rules. It emphasizes the use of SOLID design principles to create modular, loosely coupled components, alongside structured exception management to ensure diagnostic information is pres

    C#aspnetawesomeazure
    Ver en GitHub↗7,615
  • Ver las 30 alternativas a Modern Errors→