commit 1b8115c7db36bd5982f9ea3ad0bcc90f98fad1cd
parent 16356268fc37698832656ae5655668dfcaddd127
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 18 Nov 2026 20:12:01 +0100
beekeeper: add the change feed's cursor errors and error codes of chip challenges
BEEKEEPER_FEED_CURSOR_AHEAD (409) refuses a cursor above every serial the
server issued, as after a reset or restore; BEEKEEPER_FEED_CURSOR_EXPIRED
(410) one below events deleted under FEED_RETENTION.
Diffstat:
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/beekeeper-error-codes/registry.rec b/beekeeper-error-codes/registry.rec
@@ -198,6 +198,16 @@ Name: BEEKEEPER_SUBTITLES_INVALID
Description: The subtitles of a challenge recording are not a well-formed SRT file, or their cues do not match the actions, order, timing and instructions of the challenge.
HttpStatus: 400
+Value: 100509
+Name: BEEKEEPER_CHIP_CHALLENGE_EXPIRED
+Description: The evidence from a document's chip answers a chip challenge that has expired or was replaced by a newer one, or Chip Authentication was already requested for it.
+HttpStatus: 409
+
+Value: 100510
+Name: BEEKEEPER_CHIP_KEY_UNSUPPORTED
+Description: The server cannot take part in Chip Authentication with this chip's key: its protocol, curve or encoding is not supported.
+HttpStatus: 400
+
Value: 100600
Name: BEEKEEPER_OAUTH_CLIENT_UNKNOWN
Description: The OAuth2 client is unknown or disabled, or its secret is wrong.
@@ -227,3 +237,13 @@ Value: 100605
Name: BEEKEEPER_OAUTH_NOT_READY
Description: The KYC process is not finished yet: some assignments are neither accepted nor failed.
HttpStatus: 409
+
+Value: 100700
+Name: BEEKEEPER_FEED_CURSOR_AHEAD
+Description: The cursor of the change feed is beyond every event the server has issued, as after a reset of the database or the restore of a backup. Resynchronise, then follow the feed from its newest event.
+HttpStatus: 409
+
+Value: 100701
+Name: BEEKEEPER_FEED_CURSOR_EXPIRED
+Description: Events after the cursor of the change feed were deleted under the feed's retention period (FEED_RETENTION). Resynchronise, then follow the feed from its newest event.
+HttpStatus: 410