Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/netzo/deps/preact/hooks.ts>useErrorBoundary

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function useErrorBoundary
import { useErrorBoundary } from "https://deno.land/x/netzo@0.4.40/deps/preact/hooks.ts";

Parameters

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

Returns

[any, () => void]