Search results
212 packages found
✈ 类型安全的扁平化的 try-catch,支持同步函数、回调函数和 PromiseLike
A declarative sync & async js maybe that notes something may fail
- declarative
- maybe
- try
- catch
- try catch
- fail
- maybe-try
- sync
- synchronous
- async
- asynchronous
- error handling
- promise
- callback
Wrap a function that may throw with a function that returns a Task
try-catch-expression provides try..catch as expression.
try-catch wrapper with quick easy syntax; fully customizable & works with async and promises
Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.
function try-catch wrapper for promises
middleware to handle errors
- promise
- async
- errorhandler
- middleware
- trycatch
- try
- UnhandledPromiseRejectionWarning
- PromiseRejectionHandledWarning
If a function does not throw, return the function return value; otherwise, return `y`.
A better try/catch like way to get your errors.
JavaScript Standard library without udndefined behavior!
Async/await wrapper for easy error handling in js
A javascript library for an inline try
try-catch wrapper with quick easy syntax; fully customizable & works with async
go-lang-style error handling using co library
Handle function call results using a common type
Deal with code that can throw
Easy and flattened error handling for sync and async functions
> A simple function to validate if nested object properties exist.
Parse a string as JSON.