0.2.5 • Published 5 years ago

error-control v0.2.5

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

Error Control

This library provides a simple framework for managing errors in Javascript applications in the browser and server.

The features are :

  • StandardException base class, extendable in the browser and server
  • A library of exception classes for each each HTTP error
  • A global ErrorControl class providing :
    • an abstract exception factory
    • an abstract exception filter framework for normalising exceptions by wrapping, converting and smothering arbitrary exceptions into a known set.
    • a guard for calling a function (or lambda) of code safely. The function result will be returned to external code, and any exceptions will be filtered and rethrown or smothered.
    • an abstract reporting framework for eg. logging and reporting errors to an error reporting service

The default import is ErrorControlPackage which includes everything, or you can import separate files (see the dist folder)

License

MIT.

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago