Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (20 sloc) 0.75 kb
8354436 @mimaki add file header
mimaki authored
1 /*
2 ** error.h - Exception class
4ec6d41 rm whitespace
roco authored
3 **
8354436 @mimaki add file header
mimaki authored
4 ** See Copyright Notice in mruby.h
5 */
6
e0d6430 @mimaki add mruby sources
mimaki authored
7 #ifndef MRUBY_ERROR_H
8 #define MRUBY_ERROR_H
9
10 struct RException {
97b7eb6 @matz rename MRUBY_OBJECT_HEADER to MRB_OBJECT_HEADER
matz authored
11 MRB_OBJECT_HEADER;
e0d6430 @mimaki add mruby sources
mimaki authored
12 };
13
14 void mrb_sys_fail(mrb_state *mrb, const char *mesg);
15 void mrb_bug_errno(const char*, int);
16 int sysexit_status(mrb_state *mrb, mrb_value err);
17 mrb_value mrb_exc_new3(mrb_state *mrb, struct RClass* c, mrb_value str);
18 mrb_value make_exception(mrb_state *mrb, int argc, mrb_value *argv, int isstr);
19 mrb_value mrb_make_exception(mrb_state *mrb, int argc, mrb_value *argv);
20 mrb_value mrb_sprintf(mrb_state *mrb, const char *fmt, ...);
21 void mrb_name_error(mrb_state *mrb, mrb_sym id, const char *fmt, ...);
22 void mrb_exc_print(mrb_state *mrb, struct RObject *exc);
23
24 #endif /* MRUBY_ERROR_H */
Something went wrong with that request. Please try again.