Function to be executed after an error. Takes in the error that caused the try catch to fail and the props associated with the fail.
(error: unknown,input: OnErrorFunctionInput,) => void
Function to be executed after an error. Takes in the error that caused the try catch to fail and the props associated with the fail.
(error: unknown,input: OnErrorFunctionInput,) => void
Add Package
deno add @pickleboyonline/result-wrapper
Import symbol
import { type OnErrorFunction } from "@pickleboyonline/result-wrapper";
Add Package
npx jsr add @pickleboyonline/result-wrapper
Import symbol
import { type OnErrorFunction } from "@pickleboyonline/result-wrapper";
Add Package
yarn dlx jsr add @pickleboyonline/result-wrapper
Import symbol
import { type OnErrorFunction } from "@pickleboyonline/result-wrapper";
Add Package
pnpm dlx jsr add @pickleboyonline/result-wrapper
Import symbol
import { type OnErrorFunction } from "@pickleboyonline/result-wrapper";
Add Package
bunx jsr add @pickleboyonline/result-wrapper
Import symbol
import { type OnErrorFunction } from "@pickleboyonline/result-wrapper";