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
-
objectErrorInfo
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 whoseRender()threw); subsequent lines walk up viaComponentFiber.Parent.