This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
64%
Published
2 months ago (1.0.0)
T
AsyncResultWrapper
No documentation available
I
AsyncResultWrapperOptions
No documentation available
f
createAsyncResultWrapper
No documentation available
f
createResultWrapper
No documentation available
T
OnErrorAsyncFunction
Function to be executed after an error.Takes in the error that caused the try catch to fail andthe props associated with the fail.
T
OnErrorFunction
Function to be executed after an error.Takes in the error that caused the try catch to fail andthe props associated with the fail.
T
OnErrorFunctionInput
No documentation available
T
ResultWrapper
No documentation available
I
ResultWrapperOptions
No documentation available
T
WrappedResult
The Error
has the cause
property as the error that caused thetry catch to fail