JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 480
  • Score
    100M100P100Q95531F
  • License MIT

Typed error classes for dumbql — graphql, network, cache, validation errors with error handler

Package Exports

  • @dumbql/errors
  • @dumbql/errors/package.json

Readme

@dumbql/errors

Typed error classes for GraphQL, network, cache, and validation errors. Includes ErrorHandler middleware for centralized error management.

Usage

import { ErrorHandler, GraphQLError, NetworkError } from '@dumbql/errors';

const handler = new ErrorHandler();
handler.on('GRAPHQL_ERROR', (err) => console.error(err));