]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/errors.hpp
VM: removes the OBJ-ERROR special object in favor of a constant
[factor.git] / vm / errors.hpp
index 57f0204831fc5e352492f402231db78b97196904..068fa104f96dab717c24b47de742f6e60e060bd1 100644 (file)
@@ -3,6 +3,8 @@ namespace factor {
 // Runtime errors must be kept in sync with:
 //   basis/debugger/debugger.factor
 //   core/kernel/kernel.factor
+#define KERNEL_ERROR 0xfac7
+
 enum vm_error_type {
   ERROR_EXPIRED = 0,
   ERROR_IO,