@mocanvas/editor · interface

TLErrorBoundaryProps

interface TLErrorBoundaryProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 3

children: ReactNode
fallback: (props: TLErrorFallbackProps) => ReactNode

Rendered in place of the subtree once it has thrown.

onError?(error: unknown, info?: ErrorInfo): void

Reported to the host app: logging, error tracking.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.