summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mruby/error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h
index 210ae3449..8b5e9dd37 100644
--- a/include/mruby/error.h
+++ b/include/mruby/error.h
@@ -14,9 +14,11 @@ extern "C" {
struct RException {
MRB_OBJECT_HEADER;
struct iv_tbl *iv;
+ mrb_value mesg;
};
#define mrb_exc_ptr(v) ((struct RException*)mrb_ptr(v))
+#define MRB_EXC_MESG_INIT_FLAG 0x100
void mrb_sys_fail(mrb_state *mrb, const char *mesg);
mrb_value mrb_exc_new_str(mrb_state *mrb, struct RClass* c, mrb_value str);