From c01fd9ff1471adafa707fdb36bdaa49749079fa6 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Mon, 8 Nov 2021 16:24:22 +0100 Subject: [PATCH] EHN: add INTEGRITY_VIOLATION as message code --- proto/caosdb/entity/v1/main.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/caosdb/entity/v1/main.proto b/proto/caosdb/entity/v1/main.proto index ce0f1ea..c04ca35 100644 --- a/proto/caosdb/entity/v1/main.proto +++ b/proto/caosdb/entity/v1/main.proto @@ -321,6 +321,10 @@ enum MessageCode { // out of range. The integer range is an implementation detail and thus this // can happen even though the API allows the value. MESSAGE_CODE_INTEGER_VALUE_OUT_OF_RANGE = 58; + + // This entity caused an unexpected integrity violation. This is a strong + // indicator for a server bug. Please report. + MESSAGE_CODE_INTEGRITY_VIOLOATION = 59; } // Messages are used by server's or client's to transport *transient* -- GitLab