1,275,511 packages matching “error-result”
zod-messages
v3.0.0 · 1 month ago
Zod error result messages to validation readable object
No known vulnerabilities
@mongez/http
v3.5.0 · 1 month ago
Robust, fetch-based HTTP client for TypeScript. Native fetch, {data,error} result type, per-request abort, caching, interceptors, and a RestfulResource helper.
No known vulnerabilities
reactions
v0.0.13 · 12 years ago
A library of methods for creating function (context, next), where next is a function (error, result)
No known vulnerabilities
react-use-async-callback
v2.1.2 · 3 years ago
React hook that provides a standard way generate async calls by returning a wrapped callback, a executing and success flags and any error result.
No known vulnerabilities
node-promise-wrapper
v0.0.2 · 7 years ago
Wrap promise to get both error & result in same line of code.
No known vulnerabilities
error-first
v0.9.4 · 8 years ago
Convert async/await try/catch to `[error, result]`
No known vulnerabilities
handle-promise
v1.0.0 · 8 years ago
Promise handler function that return fulfilled promise with { error, result }
No known vulnerabilities
use-fetch-error
v1.0.3 · 1 year ago
A library for error handling with [error, result] tuples using a useFetchError() function.
No known vulnerabilities
@nannygoose-utils/async-handler
v1.0.4 · 7 months ago
异步/同步错误处理工具,统一返回 [error, result] 格式
No known vulnerabilities
result-state
v1.0.2 · 3 years ago
This is a wrapper for managing error, result and loading state with rxjs
No known vulnerabilities
loader-runner
v4.3.2 · 5 months ago
Runs (webpack) loaders
No known vulnerabilities
run-parallel
v1.2.0 · 5 years ago
Run an array of functions in parallel
No known vulnerabilities
@tootallnate/quickjs-emscripten
v0.23.0 · 3 years ago
Javascript/Typescript bindings for QuickJS, a modern Javascript interpreter, compiled to WebAssembly.
No known vulnerabilities
@npmcli/promise-spawn
v10.0.0 · 4 months ago
spawn processes the way the npm cli likes to do
No known vulnerabilities
assertion-error
v2.0.1 · 2 years ago
Error constructor for test and validation frameworks that implements standardized AssertionError specification.
No known vulnerabilities
try-fetch-catch
v1.0.2 · 8 months ago
Go-style error handling for JavaScript that never throws. tryFetch returns [error, data, response] tuples, tryCatch returns [error, result] tuples.
No known vulnerabilities
@matatbread/matbot-tool-ts-validation
v0.4.15 · 7 days ago
Validates tool-call inputs against each tool's ToolContract params TYPE (not its projected JSON Schema), returning an error result on mismatch so the model can self-correct. Hard-depends on @matatbread/matbot-tool-types (node only), installing it itself i
No known vulnerabilities
@davstack/try-catch
v0.2.0 · 3 months ago
Tiny zero-dependency helper that wraps a promise or thunk into a { data, error } result — no try/catch boilerplate.
No known vulnerabilities
await-resolver
v2.0.2 · 1 year ago
An easy-to-use **async/await wrapper** to resolve any asynchronous tasks. Await-resolver always returns an array of type `[error, result]` **ensuring consistent error handling** and it provides **a timeout functionality to delay/timeout an execution**. Wi
No known vulnerabilities
ts-promisify-callback
v0.1.2 · 6 years ago
Turns any function ending with the standard "Error, Result" callback format into a promise (type-safe)
No known vulnerabilities