SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ErrorRef

    The FormulaToken.value of an error-REFERENCE token — #REF! or #NAME?, a reference whose target is gone — split into the error it resolves to and its optional sheet qualifier.

    Data!#REF! is what a row delete leaves behind, and the qualifier is the only remaining record of WHICH sheet's cells died — so it is carried beside the error rather than smeared into the text, exactly as NamedRef carries a name's. OOXML models the same distinction natively (PtgRefErr vs PtgRefErr3d).

    Only error tokens that are REFERENCES take this shape. An error LITERAL (#DIV/0!, #N/A) is a value, never scoped, and its value is the label alone. Both arrive as type: 'error', so a consumer that wants the label either way reads value.error ?? value, and FormulaError.getBuiltInByLabel turns it into the error.

    Reference-layer only: EVALUATION of a #REF! still produces the plain FormulaError, so a cell value never holds one of these.

    interface ErrorRef {
        error: string;
        scope?: string | null;
    }
    Index
    error: string

    The canonical label of the error the dead reference resolves to — #REF! (deleted cells) or #NAME? (a stored unresolvable name).

    scope?: string | null

    The sheet name for a qualified error reference (Data!#REF!).

    Absent (or null) when the break was local to the formula's own sheet — the bare form Excel writes for a same-sheet delete, and the only form it writes when the SHEET itself is deleted. Bare, so it still needs quoting when it contains spaces.