aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-08 15:08:41 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-08 15:08:41 +0100
commitd83d2584fd4698719b8eb78a4e0e9c8dad698aca (patch)
treee81f388daa6a0f6d724347ced3e48a7612a09f85 /gnu-taler-error-codes/registry.rec
parent17b05a076510c359911993eceb55258e29a3ef7d (diff)
downloadgana-d83d2584fd4698719b8eb78a4e0e9c8dad698aca.tar.gz
gana-d83d2584fd4698719b8eb78a4e0e9c8dad698aca.zip
add singular constraint, fixes #6520
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r--gnu-taler-error-codes/registry.rec3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index 128fd2b..171460f 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -4,6 +4,7 @@
4# 4#
5%rec: TalerErrorCode 5%rec: TalerErrorCode
6%key: Value 6%key: Value
7%singular: Value
7%typedef: ValueRange_t range 0 9999 8%typedef: ValueRange_t range 0 9999
8%constraint: ( Value < 100 ) || ( Value > 999 ) 9%constraint: ( Value < 100 ) || ( Value > 999 )
9%type: Value ValueRange_t 10%type: Value ValueRange_t
@@ -15,6 +16,7 @@
15%type: Name Name_t 16%type: Name Name_t
16%unique: Name 17%unique: Name
17%mandatory: Name 18%mandatory: Name
19%singular: Name
18# A status of 0 means not an HTTP status (i.e. created client-side) 20# A status of 0 means not an HTTP status (i.e. created client-side)
19%type: HttpStatus rec HttpStatusCode 21%type: HttpStatus rec HttpStatusCode
20%mandatory: HttpStatus 22%mandatory: HttpStatus
@@ -28,7 +30,6 @@ Description: Special code to indicate success (no error).
28HttpStatus: 0 30HttpStatus: 0
29 31
30# We could not get the error code. 32# We could not get the error code.
31
32Value: 1 33Value: 1
33Name: INVALID 34Name: INVALID
34Description: A non-integer error code was returned in the JSON response. 35Description: A non-integer error code was returned in the JSON response.