Search results
152 packages found
richer JavaScript errors
Create an error with a code
A typescript implementation of Rust's Result and Option objects.
Error factory with the ability to append stack traces from previous errors, as well as appending debug params to stack traces. Great if you want one appended stack trace that defines the error at many levels of your code. This concept works wonders when
- StriveNine
- Strive9
- Error
- Error Factory
- Error Builder
- Stack Trace
- Appendable
- Debug Params
- Promise
- Promise Chain
- appendable
- concat
- concatenate
- err
Copy an error object.
Return a two-character error identifier corresponding to a provided error message.
Return an error message corresponding to a provided two-character error identifier.
Format an error message for production.
Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)
Test if a value is an Error object.
Doesn't throw an error when JSON.parse() fails, just returns undefined
Error wrapping utility for NodeJS and the browser
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
Copy or deep clone a value to an arbitrary depth.
error reporting for js
generates a string containing a message and trimmed stack from error
A production-grade error creation and serialization library designed for Typescript
- error
- throw
- custom
- generate
- new
- extends
- factory
- subclass
- inherit
- extension
- create
- typescript
- serialize
- collection
- View more