0.5.0 • Published 2 years ago
@onemedia/common-errors v0.5.0
@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-errorsUsage
import { 
  ConfigurationMissingError,
  ConfigurationInvalidError,
  ConfigurationServiceError,
  DataServiceError,
  QuotaExceededError,
  DisabledAppError,
  FontServiceError,
} from '@onemedia/common-errors';