• Report a failed migration operation from readNew, readOld, writeNew or writeOld.

    readNew: async () => {
    const myResult = doMyOldRead();
    if(myResult.wasGood) {
    return LDMigrationSuccess(myResult);
    }
    return LDMigrationError(myResult.error)
    }

    Parameters

    • error: Error

    Returns {
        error: Error;
        success: false;
    }

    An LDMethodResult

    • error: Error
    • success: false

Generated using TypeDoc