0.0.0 • Published 4 years ago
@nirvarnia/err v0.0.0
@nirvarnia/err
Custom error types for client-side and server-side JavaScript programs.
Features
- Extends JavaScript's minimal suite of built-in error types to provide a larger vocabulary for describing errors:
AssertionError
,DomainError
,OverflowError
, and so on. - Provides a simple way to extend that vocabulary further by defining your own custom error types.
- Provides a mechanism by which thrown errors can be caught and replaced with custom error types, while maintaining the stack trace of the original error.
- Compatible with Node.js and web browser runtime environments.
Get Started
API Documentation
Custom Error Types
Built-In Error Types
See the website for more documentation.
Contribute
You can improve this free and open source software project by:
- Reporting bugs
- Suggesting features
- Contributing source code
- Sponsoring our work
Go to the Nirvarnia Development content repository to find out more.
Acknowledgements
- Extensible Custom Error by @necojackarc
- es6-error by Ben Youngblood
License
Copyright © 2020+ Kieran Potts Consultancy Ltd. \ Distributed under the Blue Oak license.
1.0.0-beta.8
4 years ago
1.0.0-beta.7
6 years ago
1.0.0-beta.6
6 years ago
1.0.0-beta.5
6 years ago
0.0.0
6 years ago