@creatioart-js/express-error-handler
v1.4.0
Published
CreatioART - Core error handler library package for Express framework that contains all error handlers
Readme
CreatioART: Error Handler
CreatioART - Core error handle package for Express framework it is a Node JS package that contains all error handlers. This package can be applied to any web component such as:
- NodeJS Enviroments
- Serverless Engine
- Kubernate Engine
- Node Express Server
Getting Started
- Quickstart
- Artifact
- Requirements
- Project organization
- Building from Source
- Test the Artifact
- Documentation
- CreatioART libraries
- License
- Change Log
Quickstart
Installing the library
npm install @creatioart-js/express-error-handlerWays to use
A quick start guide is available.
Templates for use
Service templates are public. README.md file for each template contains instructions for running it.
| Source Code | Status |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Express Service | |
| Express Function |
|
| GrapHQL Servicen |
|
Artifact
| Element | Description | | ------------- | ------------------------------------ | | Artifact id | @creatioart-js/express-error-handler | | Artifact Name | express-error-handler |
Requirements
To build and run the application you need:
- Node.js 20
- Projects must configure TypeScript to use types from the ECMAScript modules that have a:
compilerOptions.allowJsshould betrue.compilerOptions.moduleshould be"node16"or"nodenext".
Project organization
Project organization
The code is organized as follows:
errorcontains the error domain values.handlercontains all error handlers.middelwarescontains all middelwares.
Building from Source
- Install Node.js 20 - Node.js 20 Download
- Install dependencies: npm install
- Run compile: npm run build
Test the Artifact
- Install Node.js 20 - Node.js 20 Download
- Install dependencies: npm install
- Run test: npm run test
Documentation
Document Reference: Docs TypeDocs
CreatioART libraries
Complementary libraries available from CreatioART:
Made with ❤️ by the CreatioART team.
- https://www.npmjs.com/org/creatioart-js
Contribute
If you are interested in fixing issues and contributing directly to the code, please contact to the project manager. Here is how you can contribute to CreatioART.express-error-handler:
- Submit bugs and help us verify fixes
- Submit pull requests for bug fixes and features and discuss existing proposals
