2.0.0 • Published 10 months ago

@creatio-tech/error-handler v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
10 months ago

Creatio.Error.Handler

Creatio.Error.Handler it is a Node JS package that contains all error handler services. This package can be applied to any web component such as:

  • NodeJS Envs
  • Cloud Function
  • Google App Engine
  • Google Cloud Run
  • Google Kubernate Engine
  • Node Express Server

Getting Started

  1. Install enviroment (NodeJS)
  2. Install dependencies: npm install
  3. Build: npm run build
  4. Publish: npm publish

Build and Test

  • Build: npm run build
  • Test: npm run test
  • TDD: npm run tdd

Documentation

Creatio Packages Dependencies

Creatio Packages Dependencies

TypeDocs

Creatio TypeDocs

Table of Contents

Entity

Class set to manage entities

BaseError

Base Error class to represent errors

EntityError

Entity Error class to represent entity errors

InternalError

Internal Error class to represent server errors

ValidationError

Validation Error class to represent entity validation errors

UncodedError

Uncoded Error class to represent an errors

ErrorResponse

HttpError type class to represent errors

Enum

Emuns set to errors

ErrorStatus

Error Status enum to represent Hypertext Transfer Protocol (HTTP) response status codes.

ErrorCode

Error Code enum to represent Creatio Code Errors.

Handler

Class set to handle errors

CustomErrorHandler

Handling application errors

Middleware

Class set to handle application errors

ExpressErrorHandlerMiddleware

Middleware to handle application errors

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 Creatio.Error.Handler:

  • Submit bugs and help us verify fixes
  • Submit pull requests for bug fixes and features and discuss existing proposals