@interaktiv/errors

1.0.1 • Public • Published

@interaktiv/errors

Commonly used error types for Javascript at DIA

Commitizen friendly Conventional Commits Semantic Release Code of Conduct MIT License

npm latest version npm next version

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

Readme

Keywords

Package Sidebar

Install

npm i @interaktiv/errors

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

17.2 kB

Total Files

6

Last publish

Collaborators

  • dia-bot
  • kbshl