#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/class.h"
#include "mruby/irep.h"
#include "mruby/proc.h"
#include "mruby/variable.h"
#include "mruby/debug.h"
#include "error.h"
Go to the source code of this file.
Functions |
mrb_value | mrb_exc_new (mrb_state *mrb, struct RClass *c, const char *ptr, long len) |
mrb_value | mrb_exc_new3 (mrb_state *mrb, struct RClass *c, mrb_value str) |
void | mrb_exc_raise (mrb_state *mrb, mrb_value exc) |
void | mrb_raise (mrb_state *mrb, struct RClass *c, const char *msg) |
mrb_value | mrb_vformat (mrb_state *mrb, const char *format, va_list ap) |
mrb_value | mrb_format (mrb_state *mrb, const char *format,...) |
void | mrb_raisef (mrb_state *mrb, struct RClass *c, const char *fmt,...) |
void | mrb_name_error (mrb_state *mrb, mrb_sym id, const char *fmt,...) |
void | mrb_warn (mrb_state *mrb, const char *fmt,...) |
void | mrb_bug (mrb_state *mrb, const char *fmt,...) |
int | sysexit_status (mrb_state *mrb, mrb_value err) |
mrb_value | make_exception (mrb_state *mrb, int argc, mrb_value *argv, int isstr) |
mrb_value | mrb_make_exception (mrb_state *mrb, int argc, mrb_value *argv) |
void | mrb_sys_fail (mrb_state *mrb, const char *mesg) |
mrb_value | mrb_get_backtrace (mrb_state *, mrb_value) |
void | mrb_init_exception (mrb_state *mrb) |
Function Documentation
void mrb_bug |
( |
mrb_state * |
mrb, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
void mrb_raisef |
( |
mrb_state * |
mrb, |
|
|
struct RClass * |
c, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
void mrb_sys_fail |
( |
mrb_state * |
mrb, |
|
|
const char * |
mesg |
|
) |
| |
void mrb_warn |
( |
mrb_state * |
mrb, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |