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

Parameters

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

Returns

[any, () => void]