@onemedia/common-errors
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@onemedia/common-errors

All frontend application errors in a centralised location.

npm next version

Errors

The errors and their codes:

  • Data Service Failure (100);

  • Configuration not found (110);

  • Configuration Service Failure (120);

  • Quota Exceeded (130);

  • Feed Disabled (140);

  • Font Service Failure (150);

  • Configuration not set (160);

Install

$ npm install -S @onemedia/common-errors

Usage

import { 
  ConfigurationMissingError,
  ConfigurationInvalidError,
  ConfigurationServiceError,
  DataServiceError,
  QuotaExceededError,
  DisabledAppError,
  FontServiceError,
} from '@onemedia/common-errors';

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @onemedia/common-errors

      Weekly Downloads

      13

      Version

      0.5.0

      License

      none

      Unpacked Size

      5.92 kB

      Total Files

      6

      Last publish

      Collaborators

      • alexnaish