import { assert } from "../../../../shared/src/asserts.js";
export class MutationAlreadyProcessedError extends Error {
    constructor(clientID, received, actual) {
        super(`Ignoring mutation from ${clientID} with ID ${received} as it was already processed. Expected: ${actual}`);
        assert(received < actual);
    }
}
//# sourceMappingURL=error.js.map