From 75e826bd318c39e63d324f71e035f08355ffc51f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 31 Aug 2021 22:12:08 +0200 Subject: [PATCH] EHN: Add message code for integer out of range --- proto/caosdb/entity/v1alpha1/main.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proto/caosdb/entity/v1alpha1/main.proto b/proto/caosdb/entity/v1alpha1/main.proto index 5bcd860..605711e 100644 --- a/proto/caosdb/entity/v1alpha1/main.proto +++ b/proto/caosdb/entity/v1alpha1/main.proto @@ -384,6 +384,11 @@ enum MessageCode { // TODO(tf) This property overrides the name. MESSAGE_CODE_PROPERTY_WITH_NAME_OVERRIDE = 79; + + // Indicates that this server cannot process this integer value because it is + // 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 = 80; } // Messages are used by server's or client's to transport *transient* -- GitLab