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

error-type

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-type - npm Package Versions

2

3.0.0

Diff

Changelog

Source

3.0.0

Breaking changes

  • Error properties are now set by default using new CustomError('message', { props: { ... } }) instead of new CustomError('message', { ... })
ehmicky
published 2.0.1 •

Changelog

Source

2.0.1

Bug fixes

  • Fix types
ehmicky
published 2.0.0 •

Changelog

Source

2.0.0

Breaking changes

  • Split ErrorType type into ErrorConstructor and ErrorInstance
  • Add a template parameter ErrorName to all types
ehmicky
published 1.3.1 •

Changelog

Source

1.3.1

Bug fixes

  • Fix main function's return value's type
ehmicky
published 1.3.0 •

Changelog

Source

1.3.0

Features

  • Reduce npm package size
ehmicky
published 1.2.0 •

Changelog

Source

1.2.0

Features

  • Do not allow errors named 'Warning' or 'UnhandledPromiseRejection'
ehmicky
published 1.1.10 •

ehmicky
published 1.1.9 •

ehmicky
published 1.1.8 •

ehmicky
published 1.1.7 •

2
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