rmapi-js
    Preparing search index...

    Class TextError

    an edit of a page's typed text was refused; the page is as it was

    Hierarchy (View Summary)

    Index
    • Parameters

      • Optionalmessage: string

      Returns TextError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns TextError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns TextError

    end?: number

    the range's end in UTF-16 code units, for "badTextRange"

    endOfText?: number

    the text's length in UTF-16 code units, for "badTextRange"

    error?: ResolveError

    why the page's items give no order, for "damaged" when that is the damage

    offset?: number

    the offset in UTF-16 code units, for "notOnCharBoundary"

    reason:
        | "damaged"
        | "tooLarge"
        | "countersUsedUp"
        | "badTextRange"
        | "notOnCharBoundary"

    which way: the counters are used up, the edit is more than a page may hold, a range is backward or past the text, an offset splits a character, or the page is damaged

    start?: number

    the range's start in UTF-16 code units, for "badTextRange"

    transient: boolean

    whether the same call may succeed later: no answer, a 408, 429 or 5xx, a lost race, or a blob that did not match its hash