Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

new-error

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

new-error - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 2.1.3 - Fri Mar 19 2021 02:55:37
**Contributor:** Theo Gravity
- Update readme
## 2.1.2 - Fri Mar 19 2021 02:53:03

@@ -2,0 +8,0 @@

2

package.json
{
"name": "new-error",
"version": "2.1.2",
"version": "2.1.3",
"description": "A production-grade error creation and serialization library designed for Typescript",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -32,5 +32,5 @@ # new-error

- [Auto-generate high level error properties](#auto-generate-high-level-error-properties)
- [Configuration:](#configuration)
- [Configuration options](#configuration-options)
- [Auto-generate low level error properties](#auto-generate-low-level-error-properties)
- [Configuration:](#configuration-1)
- [Configuration options](#configuration-options-1)
- [Class-based with low level errors without a registry](#class-based-with-low-level-errors-without-a-registry)

@@ -42,6 +42,6 @@ - [Bare-bones class-based error](#bare-bones-class-based-error)

- [Constructor](#constructor)
- [Configuration options](#configuration-options)
- [Configuration options](#configuration-options-2)
- [Example](#example)
- [Child registry with context](#child-registry-with-context)
- [Configuration options](#configuration-options-1)
- [Configuration options](#configuration-options-3)
- [Example](#example-1)

@@ -60,3 +60,3 @@ - [Creating errors](#creating-errors)

- [Constructor](#constructor-1)
- [Configuration options](#configuration-options-2)
- [Configuration options](#configuration-options-4)
- [Getters](#getters)

@@ -105,2 +105,3 @@ - [Basic setters](#basic-setters)

- Client developers prefer a list of error codes to expect from an API service so they can properly handle errors.
- You want to classify the types of errors that your application is emitting in your metrics / analytics tool.

@@ -287,3 +288,3 @@ `new-error` was built with these use-cases in mind.

##### Configuration:
##### Configuration options

@@ -332,3 +333,3 @@ ```ts

##### Configuration:
##### Configuration options

@@ -335,0 +336,0 @@ ```ts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc