Commit Diff


commit - 776d4d299ae7521a3f409a3b5dbbcc1a400f2b5c
commit + 730c718b4e7767bb2d4da775f58804d8cacbc530
blob - 146ee742c19732ef9f95fcec97540f7ead972b02
blob + d559f4dfe6cfda0a4a41e25b6ab7e603c4ed38d3
--- include/got_error.h
+++ include/got_error.h
@@ -60,6 +60,7 @@
 #define GOT_ERR_BAD_OBJ_ID	44
 #define GOT_ERR_ITER_NEED_MORE	45
 #define GOT_ERR_ITER_COMPLETED	46
+#define GOT_ERR_RANGE		47
 
 static const struct got_error {
 	int code;
@@ -109,6 +110,7 @@ static const struct got_error {
 	{ GOT_ERR_BAD_OBJ_ID,	"bad object id" },
 	{ GOT_ERR_ITER_NEED_MORE,"more items needed to continue iteration" },
 	{ GOT_ERR_ITER_COMPLETED,"iteration completed" },
+	{ GOT_ERR_RANGE,	"value out of range" },
 };
 
 /*