JSPM

  • Created
  • Published
  • Downloads 146
  • Score
    100M100P100Q84899F
  • License ISC

custom errors to handle exceptions

Package Exports

  • @sheet-i18n/errors

Readme

@sheet-i18n/errors

A utility package for handling custom errors and exceptions in the sheet-i18n ecosystem. This package provides standardized error classes and utilities for managing predictable and actionable error cases in projects built with sheet-i18n.

Features

  • Custom Error Classes: Define reusable error classes tailored for sheet-i18n use cases.
  • Consistent Error Handling: Standardize how errors are raised and handled across different modules.
  • Lightweight and Modular: Designed to integrate seamlessly with sheet-i18n and its submodules.
  • TypeScript Support: Includes full TypeScript type definitions for error classes.

Installation

Install the package using npm or pnpm:

# Using npm
npm install @sheet-i18n/errors

# Using pnpm
pnpm add @sheet-i18n/errors