@interaktiv/errors
Commonly used error types for Javascript at DIA
This Solution
This is a simple library developed for use in DIA Javascript libraries, applications, and plugins consisting of custom error types for better error handling e.g. getting the error line while parsing malformed JSON files.
Table of Contents
Installation
This module can be installed via npm which is bundled with Node.js and should be installed as one of your project's dependencies:
npm install --save @interaktiv/errors
Usage
TBD
Error Types
NamedError
TBD
JsonParseError
TBD
JsonStringifyError
TBD
JsonDataFormatError
TBD
InvalidDefaultEnvValueError
TBD
UnexpectedValueTypeError
TB
JsonCloneError
TB
Other Use Cases
If you lack some use cases, you are welcome to open a pull request and add it. We'll come back to you and see how we can support your use case and present it to all devs.
Please consult the contribution guides before contributing.
References
This library is mainly used in other libs such as @interaktiv/types, @interaktiv/json or @interaktiv/kit.
Acknowledgements
This library is inspired by @salesforce/kit. Thank you
License
MIT Copyright © 2019-present die.interaktiven GmbH & Co. KG