Function isStaleWriteError

  • True if a safe put (editEntrySafe) was rejected because the entry changed after _modified (HTTP 412, ec code 2112 "Somebody else changed the resource"). Checks the fields, not instanceof, so it also works when two copies of ec.fdk are bundled.

    Parameters

    • error: unknown

    Returns boolean