Table of Contents

Constructor ErrorInfo

Namespace
Velvet
Assembly
Velvet.Docs.dll

ErrorInfo(string)

Diagnostic data passed to Hooks.UseFallback's 2-arg overload when an Error Boundary catches a descendant render exception. Carries the caught error together with the component stack of the throwing subtree.

public ErrorInfo(string ComponentStack)

Parameters

ComponentStack string

Multi-line string listing the throwing fiber and its ancestors up to the root. Each line follows the format at TypeName.MethodName. The first line is the deepest fiber (the one whose Render() threw); subsequent lines walk up via ComponentFiber.Parent.