From ddc4fbc15223e362896a9f42beca73f05f48e664 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Thu, 18 Sep 2025 13:52:58 -0400 Subject: move usermode-critical info to include/api --- include/api/error.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/api/error.h (limited to 'include/api/error.h') diff --git a/include/api/error.h b/include/api/error.h new file mode 100644 index 0000000..da8093c --- /dev/null +++ b/include/api/error.h @@ -0,0 +1,21 @@ +#ifndef _JOVE_ERROR_H +#define _JOVE_ERROR_H 1 + +enum +{ + KE_OK = 0, + KE_BADOBJ, + KE_BADFUNC, + KE_BADTYPE, + KE_BADMSG, + KE_BADCALL, + KE_FULL, + KE_TOOSMALL, + KE_OOB, + KE_DNE, + KE_ALIGN, + KE_BADSIZE, + KE_OCCUPIED +}; + +#endif -- cgit v1.2.1