Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Deno-powered framework for building business web apps
Go to Latest
function useErrorBoundary
import { useErrorBoundary } from "https://deno.land/x/netzo@0.3.91/deps/preact/hooks.ts";

Parameters

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

Returns

[any, () => void]