API reference › @evolu/common › Task › ReportDefect
type ReportDefect = (reported: unknown) => void;
Defined in: packages/common/src/Task.ts:2070
Reports a defect.
Run uses this dependency in two cases: DisposableRun.panic reports the
AbortError whose reason is PanicAbortReason, and event
monitoring reports observer defects without panicking the Run. The original
panic defect is available at abortError.reason.defect.