aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
authorMike Pall <mike>2021-06-07 12:03:22 +0200
committerMike Pall <mike>2021-06-07 12:03:22 +0200
commitac02a120ef249aac37b4847705a3099bd4b92967 (patch)
treece8dde84c0cf6017752dd605088dc80f8626ea1a /src/lj_errmsg.h
parent4216bdfb2a18b213d226da26361417c537c36743 (diff)
downloadluajit-ac02a120ef249aac37b4847705a3099bd4b92967.tar.gz
luajit-ac02a120ef249aac37b4847705a3099bd4b92967.tar.bz2
luajit-ac02a120ef249aac37b4847705a3099bd4b92967.zip
String buffers, part 2e: add serialization string dictionary.
Sponsored by fmad.io.
Diffstat (limited to 'src/lj_errmsg.h')
-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")