diff options
author | Mike Pall <mike> | 2021-03-25 02:21:31 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2021-03-25 02:21:31 +0100 |
commit | 4c6b669c419f313306b9e6ee43be4ad5f6d73ec6 (patch) | |
tree | 4547f52836e186e94b68b331ea73d6b0086cb415 /src/lj_errmsg.h | |
parent | 836fb5bbd3a0d48cf3e4de70535925a85aea835f (diff) | |
download | luajit-4c6b669c419f313306b9e6ee43be4ad5f6d73ec6.tar.gz luajit-4c6b669c419f313306b9e6ee43be4ad5f6d73ec6.tar.bz2 luajit-4c6b669c419f313306b9e6ee43be4ad5f6d73ec6.zip |
String buffers, part 1: object serialization.
Sponsored by fmad.io.
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index 9ff4553d..a6f638ce 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -179,6 +179,16 @@ ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") | |||
179 | ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") | 179 | ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") |
180 | #endif | 180 | #endif |
181 | 181 | ||
182 | #if LJ_HASBUFFER | ||
183 | /* String buffer errors. */ | ||
184 | ERRDEF(BUFFER_BADENC, "cannot serialize " LUA_QS) | ||
185 | ERRDEF(BUFFER_BADDEC, "cannot deserialize tag 0x%02x") | ||
186 | ERRDEF(BUFFER_DEPTH, "too deep to serialize") | ||
187 | ERRDEF(BUFFER_DUPKEY, "duplicate table key") | ||
188 | ERRDEF(BUFFER_EOB, "unexpected end of buffer") | ||
189 | ERRDEF(BUFFER_LEFTOV, "left-over data in buffer") | ||
190 | #endif | ||
191 | |||
182 | #undef ERRDEF | 192 | #undef ERRDEF |
183 | 193 | ||
184 | /* Detecting unused error messages: | 194 | /* Detecting unused error messages: |