Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function useErrorBoundary
import { useErrorBoundary } from "https://deno.land/x/fathym_atomic_design_kit@v0.0.108-integration/src/src.deps.ts";

Parameters

optional
callback: (error: any, errorInfo: ErrorInfo) => Promise<void> | void

Returns

[any, () => void]