Report
Reporting a failure where a fiber stops: logged at Error and handed to the Environment's
ErrorReporters, so an app's error tracking sees it. An interruption is neither: it's how a run is
removed.
import * as Report from "@wardic/dom/Report"
yield* Report.failure("wardic: an animation failed", cause)Variables
failure
failure: any;Reporting a failure where a fiber stops: logged at Error and handed to the Environment's
ErrorReporters, so an app's error tracking sees it. An interruption is neither: it's how a run is
removed.
Example
import * as Report from "@wardic/dom/Report"
yield* Report.failure("wardic: an animation failed", cause)References
debugKept
Renames and re-exports failure
DebugLog
Renames and re-exports failure
debugOf
Renames and re-exports failure