Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
error.c File Reference
#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"
Include dependency graph for error.c:

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

mrb_value make_exception ( mrb_state mrb,
int  argc,
mrb_value argv,
int  isstr 
)

Definition at line 362 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_bug ( mrb_state mrb,
const char *  fmt,
  ... 
)

Definition at line 333 of file error.c.

Here is the call graph for this function:

mrb_value mrb_exc_new ( mrb_state mrb,
struct RClass c,
const char *  ptr,
long  len 
)

Definition at line 22 of file error.c.

Here is the call graph for this function:

mrb_value mrb_exc_new3 ( mrb_state mrb,
struct RClass c,
mrb_value  str 
)

Definition at line 28 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_exc_raise ( mrb_state mrb,
mrb_value  exc 
)

Definition at line 216 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_format ( mrb_state mrb,
const char *  format,
  ... 
)

Definition at line 277 of file error.c.

Here is the call graph for this function:

mrb_value mrb_get_backtrace ( mrb_state ,
mrb_value   
)

Definition at line 135 of file backtrace.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_init_exception ( mrb_state mrb)

Definition at line 444 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_make_exception ( mrb_state mrb,
int  argc,
mrb_value argv 
)

Definition at line 415 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_name_error ( mrb_state mrb,
mrb_sym  id,
const char *  fmt,
  ... 
)

Definition at line 302 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_raise ( mrb_state mrb,
struct RClass c,
const char *  msg 
)

Definition at line 228 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_raisef ( mrb_state mrb,
struct RClass c,
const char *  fmt,
  ... 
)

Definition at line 290 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_sys_fail ( mrb_state mrb,
const char *  mesg 
)

Definition at line 421 of file error.c.

Here is the call graph for this function:

mrb_value mrb_vformat ( mrb_state mrb,
const char *  format,
va_list  ap 
)

Definition at line 236 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_warn ( mrb_state mrb,
const char *  fmt,
  ... 
)

Definition at line 318 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int sysexit_status ( mrb_state mrb,
mrb_value  err 
)

Definition at line 349 of file error.c.

Here is the call graph for this function: