JSPM

Found 27 results for custom-errors

node-exceptions

Extendable error class for nodejs to extend native errors

  • v4.0.1
  • 73.96
  • Published

mad-utils

A set of misc utilties I find myself repeatedly re-writing between projects.

  • v0.96.0
  • 39.41
  • Published

error-cure

Error-Cure is a lightweight Node.js library for efficient error management. It includes custom error classes like AppError and ValidationError, Express middleware for centralized error handling, and utilities for logging and managing exceptions. Ideal for

  • v2.0.1
  • 34.09
  • Published

@ocubist/error-alchemy

A powerful Node.js error-handling-framework with custom error types for easy debugging, enhanced error management, strong zod-support and useful quality-of-life-functionality for asserting and validating values.

    • v0.9.3
    • 29.22
    • Published

    express-error-toolkit

    A lightweight and developer-friendly toolkit for robust error handling in Express.js applications. Includes ready-to-use custom error classes, an async route error handler wrapper, a global error handler middleware, and a convenient 'not found' route hand

    • v1.2.0
    • 28.32
    • Published

    @ayka/domistrukt

    A TypeScript library for creating structured data objects with ease.

    • v2.0.0-rc.31
    • 23.82
    • Published

    @wthek/express-middleware

    Express middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.

    • v1.0.0
    • 23.52
    • Published

    conway-errors

    Simplify the creation, structuring and throwing of errors

    • v3.2.0
    • 19.17
    • Published

    @emtiaj/custom-errors

    A lightweight custom error handler for Node.js applications, enabling easy creation and management of generic and specific error types with customizable messages and status codes.

    • v1.0.6
    • 17.97
    • Published

    glitchkit

    A lightweight toolkit to create and manage expressive, structured, and reusable error types. Perfect for APIs, services, and glitchy adventures

    • v0.1.6
    • 17.59
    • Published

    suiclient-error-decoder

    A comprehensive error decoder for Sui blockchain transactions with support for custom error codes

    • v1.1.0
    • 16.00
    • Published

    nextjs-centralized-error-handler

    A beta comprehensive error-handling solution for Next.js API routes, offering centralized management with custom error classes to deliver robust and user-friendly error responses. This package simplifies error handling by eliminating repetitive try-catch

      • v1.0.17
      • 15.56
      • Published

      @ayka/strukt

      A lightweight TypeScript library that simplifies the creation of structured data objects and classes. It provides a type-safe and flexible way to define classes with custom properties and initialization logic.

      • v1.0.0
      • 15.17
      • Published

      @wthek/zod-transformer

      Framework-agnostic utility that transforms Zod validation errors into structured http-error-kit errors. Preserves issue details and integrates cleanly with custom formatters.

      • v1.0.0
      • 14.79
      • Published

      @wthek/nestjs-middleware

      NestJS middleware for handling and formatting errors using http-error-kit. Automatically detects and supports both Express and Fastify-based NestJS apps to ensure structured error responses with correct HTTP status codes.

      • v1.0.1
      • 14.30
      • Published

      @dev-abhi/errorify

      A utility package for simplified error handling and management in Node.js applications.

      • v1.0.2
      • 14.26
      • Published

      sharp-error-handler

      an error handler that integrates with Hapi/boom to manage all server errors through JSON file

        • v1.1.1
        • 14.00
        • Published

        @wthek/zod-express-interceptor

        Express middleware interceptor that transforms Zod validation errors into http-error-kit formatted errors.

        • v1.0.1
        • 13.93
        • Published

        express-error-builder

        Minimal and no setup error builder and producer for express APIs

        • v1.0.0
        • 13.38
        • Published

        handler-error

        Handler-Error is a modular and type-safe TypeScript library that simplifies creating and managing custom errors, promoting best practices for large-scale projects.

        • v2.7.0
        • 11.72
        • Published

        @labrynx/error-enhanced

        Supercharge your Node.js error handling with this TypeScript library. Leverage modular architecture to enrich error objects with identifiers, system context, user info, and HTTP statuses. Perfect for debugging, logging, and boosting application robustness

        • v2.7.0
        • 10.14
        • Published

        @wthek/fastify-middleware

        Fastify middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.

        • v1.0.1
        • 8.71
        • Published

        http-error-kit

        A flexible and customizable error-handling library for HTTP applications. Provides structured error responses with optional formatters, predefined HTTP errors, and extensible error types.

        • v1.1.0
        • 8.61
        • Published

        @megaorm/errors

        This package provides custom error classes for handling transaction, connection, and queue management issues in MegaORM.

        • v1.0.0
        • 7.59
        • Published

        @wthek/restify-middleware

        Restify middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.

        • v1.0.0
        • 7.55
        • Published

        error-prime

        Clase personalizada para manejar errores en la aplicación. Extiende la clase `Error` de JavaScript y agrega propiedades adicionales para un manejo más preciso de errores en aplicaciones que utilizan microservicios.

          • v1.0.0
          • 6.49
          • Published