aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_errmsg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index af4a03dd..56be4bb9 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -182,8 +182,10 @@ ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)")
182 182
183#if LJ_HASBUFFER 183#if LJ_HASBUFFER
184/* String buffer errors. */ 184/* String buffer errors. */
185ERRDEF(BUFFER_BADOPT, "bad options table")
185ERRDEF(BUFFER_BADENC, "cannot serialize " LUA_QS) 186ERRDEF(BUFFER_BADENC, "cannot serialize " LUA_QS)
186ERRDEF(BUFFER_BADDEC, "cannot deserialize tag 0x%02x") 187ERRDEF(BUFFER_BADDEC, "cannot deserialize tag 0x%02x")
188ERRDEF(BUFFER_BADDICTX, "cannot deserialize dictionary index %d")
187ERRDEF(BUFFER_DEPTH, "too deep to serialize") 189ERRDEF(BUFFER_DEPTH, "too deep to serialize")
188ERRDEF(BUFFER_DUPKEY, "duplicate table key") 190ERRDEF(BUFFER_DUPKEY, "duplicate table key")
189ERRDEF(BUFFER_EOB, "unexpected end of buffer") 191ERRDEF(BUFFER_EOB, "unexpected end of buffer")