output
    Preparing search index...

    Interface ErrorHookPayload

    Payload passed to the onError() handler when a workflow, activity or runtime error occurs.

    interface ErrorHookPayload {
        activityInfo?: Info;
        error: Error;
        eventId: string;
        outputActivityKind?: string;
        source: "workflow" | "activity" | "runtime";
        workflowDetails?: WorkflowDetails;
    }
    Index

    Properties

    activityInfo?: Info

    Temporal's activityInfo(). If source is activity

    error: Error

    The error thrown.

    eventId: string

    UUID v4 stamped per emit. Stable per-emit idempotency key.

    outputActivityKind?: string

    Output component kind for the activity, e.g. step, evaluator, or internal_step.

    source: "workflow" | "activity" | "runtime"

    Origin of the error: workflow execution, activity execution, or runtime.

    workflowDetails?: WorkflowDetails

    Information about the current workflow execution