non-error
npmv0.1.0TypeScriptAn error subclass for wrapping non-error values
Overview
non-error is an npm package that an error subclass for wrapping non-error values. The latest version is 0.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need an error subclass for wrapping non-error values and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of non-error.
Dependencies
Dev (3)
Used by
Popular packages that depend on non-error.
Alternatives to non-error
Make your own error types!
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Serialize/deserialize an error into a plain object
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Parse JSON with more helpful errors
Convert character encodings in pure javascript.
Create HTTP error objects
Utility to parse a string bytes to bytes and vice-versa
A small utility for creating warnings and emitting them.
Functions for dealing with a PostgreSQL connection string
A small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins.
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Frequently installed together
[](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht
A collection of essential TypeScript types
Version history
| Version | Published | License |
|---|---|---|
| 0.1.0latest | 9 months ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install non-error?
Run `npm install non-error` to add non-error to your npm project.
What license is non-error released under?
non-error is distributed under the MIT license.
How popular is non-error?
non-error has approximately 0 downloads per week and 1 known dependent packages.