Search results
157 packages found
Create an error with a code
A typescript implementation of Rust's Result and Option objects.
Errors.
Format an error message for production.
Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)
Error wrapping utility for NodeJS and the browser
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
Test if a value is an Error object.
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
richer JavaScript errors
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
generates a string containing a message and trimmed stack from error
Copy or deep clone a value to an arbitrary depth.
Porting some excellent design implementations from Rust to JavaScript.
Doesn't throw an error when JSON.parse() fails, just returns undefined
Rust-like Result for TypeScript