Documentation

Regression Error

@statili/forge ·v0.0.2-beta.0 ·1 export

signature
regressionError(errorResult: RegressionError | MultiRegressionError): FactResultError
Translates a technical failure from @statili/stats into an end-user facing explanation with a concrete next step.
A failed analysis is not a fact — nothing was measured — so it stays on the ok: false branch rather than becoming a no-finding.

Parameters

NameTypeDescription
errorResult RegressionError | MultiRegressionError

Returns

FactResultError