Table of Contents

Class ErrorInfo

Namespace
Velvet
Assembly
Velvet.Docs.dll

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 sealed record ErrorInfo
Inheritance
object
ErrorInfo

Constructors

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.

Properties

ComponentStack

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.