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
ComponentStackstringMulti-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.