Type that represents a consistency conflict when adding a LogEntry to an EventLog

Occurs when an attempt is made to add an entry with a sequence id that is not the next available in the log.

Typically happens when another client makes a change since you last read the log. Sync with the additional log entries and then try again.

interface ConflictError {
    message: string;
    nextSequenceId: bigint;
    type: "ConflictError";
}

Hierarchy (View Summary)

Properties

message: string

End user message describing the problem

nextSequenceId: bigint

Next available sequence id

type: "ConflictError"

Discriminated union tag