@onemedia/common-errors
All frontend application errors in a centralised location.
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';