Search results
327 packages found
Wraps a function in a try/catch block.
Attempts to parse an input string as ALCE.
Run a `pod` subcommand and buffer the output
Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.
- JSON
- JSON.parse
- catch
- curried
- functional
- higher-order
- json
- json-parse
- parse
- parse json
- parser
- point-free
- pointfree
- safe
- View more
Async try-catch like interface for Node.js.
try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].
return error in array, remove the need of using try catch
Scala-like Success and Failure functor/monad
Read and parse an lcov file without try catch
Wraps func in a try...catch.
Type-safe error handling without exceptions.
wrap tape async functions and show error on reject
destructurable, async-friendly `try...catch` wrapper function with support for error side effects and fallback values
- async
- await
- awaitable
- promise
- try
- catch
- wrapper
- function
- fallback
- error handling
- destructure
- destructuring
- functional
- utility
Remove directories recursively or non-recursively
Throw an uncatchable error.
Tries to execute sync/async function, returns a specified default value if the function throws
Deal with runtime errors type-safe way