Huz.Com > Component > Base Errors
- Mostly used error instances
Standards
- Language:
TS
- Eslint:
Yes
- Static Code Analysis:
Yes
IntelliJ Code Inspections - DDD - Document Driven:
Yes
- EDD - Exception Driven:
Yes
- Standards Complied: Huz Standards
Commands
-
npm run clear
// clears "dist" folder -
npm run lint
// runs eslint for static code analysis -
npm run test
// runs test files in "test" folder -
npm run build
// builds JS files at "dist" folder -
npm publish
ornpm run publix
// publishes "dist" folder to npm
Install
npm i @huz-com/base-errors
Errors
- AxiosConnectionError
- EmptyValueError
- ModuleNotEnabledError
- OtherComponentError
- RecordNotActivatedError
- RecordNotFoundError
TODO
- Complete other most used error instances