Sanity Library Reference Docs
    Preparing search index...

    Thrown by abortInstance when the definition's abort block does not admit the caller. Carries the filter-failed verdict AbortEvaluation reports for the same caller. Aborting an instance that is already terminal never throws this; it returns changed: false.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • args: { reason: { detail?: string; filter: string; kind: "filter-failed" } }

      Returns AbortDeniedError

    Properties

    cause?: unknown
    kind: "abort-denied"
    message: string
    name: string
    reason: { detail?: string; filter: string; kind: "filter-failed" }

    Type declaration

    • Optionaldetail?: string
    • filter: string
    • kind: "filter-failed"

      The action's condition evaluated falsy for this actor — the ONE engine-side gate (advisory, like every engine check). Sugar like roles desugared into this condition, so a role miss surfaces here too. Under filter-existence semantics a consumer renders the action ABSENT, never disabled.

    stack?: string