# @interaktiv/errors

> Commonly used error types for Javascript at DIA

Latest version **1.0.1** (published 2019-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @interaktiv/errors
pnpm add @interaktiv/errors
yarn add @interaktiv/errors
bun add @interaktiv/errors
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-10-07 |
| First published | 2019-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 16.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | die.interaktiven GmbH & Co. KG |
| Maintainers | dia-bot, kbshl |
| Keywords | dia, node, nodejs, types |

## Links

- npm: https://www.npmjs.com/package/@interaktiv/errors
- Repository: https://bitbucket.org/dieinteraktiven/interaktiv-errors
- Homepage: https://www.npmjs.com/package/@interaktiv/errors
- Issues: https://bitbucket.org/dieinteraktiven/interaktiv-errors/issues
- npm.io page: https://npm.io/package/@interaktiv/errors

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.6.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-10-07
- 1.0.0 — 2019-10-07

## README

# @interaktiv/errors

> Commonly used error types for Javascript at [DIA][dia-website]

[![Commitizen friendly][commitizen-badge]][commitizen]
[![Conventional Commits][conventional-commits-badge]][conventional-commits]
[![Semantic Release][semantic-release-badge]][semantic-release]
[![Code of Conduct][coc-badge]][coc] [![MIT License][license-badge]][license]

[![npm latest version][latest-version-badge]][package]
[![npm next version][next-version-badge]][package]

## This Solution

This is a simple library developed for use in [DIA][dia-website] 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

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## Installation

This module can be installed via [npm][npm-cli] which is bundled with
[Node.js][node] and should be installed as one of your project's
[dependencies][]:

```bash
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][contributing] before contributing.

## References

This library is mainly used in other libs such as
[@interaktiv/types][interaktiv-types], [@interaktiv/json][interaktiv-json] or
[@interaktiv/kit][interaktiv-kit].

## Acknowledgements

This library is inspired by [@salesforce/kit][salesforce-kit]. Thank you 💙

## License

[MIT][license] Copyright © 2019-present [die.interaktiven GmbH & Co.
KG][dia-website]

[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg
[coc]: ./other/CODE_OF_CONDUCT.md
[commitizen]: http://commitizen.github.io/cz-cli
[commitizen-badge]:
  https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
[contributing]: ./CONTRIBUTING.md
[conventional-commits]: https://conventionalcommits.org
[conventional-commits-badge]:
  https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
[dependencies]:
  https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file
[dia-website]: https://die-interaktiven.de
[downloads-badge]: https://img.shields.io/npm/dw/@interaktiv/types.svg
[downloads-total-badge]: https://img.shields.io/npm/dt/@interaktiv/types.svg
[interaktiv-json]: https://www.npmsjs.com/package/@interaktiv/json
[interaktiv-kit]: https://www.npmsjs.com/package/@interaktiv/kit
[interaktiv-types]: https://www.npmsjs.com/package/@interaktiv/types
[latest-version-badge]:
  https://img.shields.io/npm/v/@interaktiv/types/latest.svg
[license]: https://opensource.org/licenses/MIT
[license-badge]: https://img.shields.io/npm/l/@interaktiv/types.svg
[next-version-badge]: https://img.shields.io/npm/v/@interaktiv/types/next.svg
[package]: https://npmjs.com/package/@interaktiv/types
[node]: https://nodejs.org
[npm]: https://www.npmjs.com
[npm-cli]: https://www.npmjs.com/package/npm
[salesforce-kit]: https://www.npmjs.com/package/@salesforce/kit
[semantic-release]: https://github.com/semantic-release/semantic-release
[semantic-release-badge]:
  https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[version-badge]: https://img.shields.io/npm/v/@interaktiv/types.svg

---
_Source: https://npm.io/package/@interaktiv/errors · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
