Data Structures | Defines | Functions | Variables

error.c File Reference

#include "ruby/ruby.h"
#include "ruby/st.h"
#include "ruby/encoding.h"
#include "vm_core.h"
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include "known_errors.inc"
Include dependency graph for error.c:

Go to the source code of this file.

Data Structures

struct  types

Defines

#define EXIT_SUCCESS   0
#define defined_error(name, num)   if (err == num) return name;
#define undefined_error(name)
#define NAME_ERR_MESG_COUNT   3
#define name_err_mesg_free   RUBY_TYPED_DEFAULT_FREE
#define defined_error(name, num)   set_syserr(num, name);
#define undefined_error(name)   set_syserr(0, name);

Functions

static const char * rb_strerrno (int err)
static int err_position_0 (char *buf, long len, const char *file, int line)
static int err_position (char *buf, long len)
static void err_snprintf (char *buf, long len, const char *fmt, va_list args)
static void compile_snprintf (char *buf, long len, const char *file, int line, const char *fmt, va_list args)
static void err_append (const char *)
void rb_compile_error (const char *file, int line, const char *fmt,...)
void rb_compile_error_append (const char *fmt,...)
static void compile_warn_print (const char *file, int line, const char *fmt, va_list args)
void rb_compile_warn (const char *file, int line, const char *fmt,...)
void rb_compile_warning (const char *file, int line, const char *fmt,...)
static void warn_print (const char *fmt, va_list args)
void rb_warn (const char *fmt,...)
void rb_warning (const char *fmt,...)
static VALUE rb_warn_m (VALUE self, VALUE mesg)
void rb_vm_bugreport (void)
static void report_bug (const char *file, int line, const char *fmt, va_list args)
void rb_bug (const char *fmt,...)
void rb_bug_errno (const char *mesg, int errno_arg)
void rb_compile_bug (const char *file, int line, const char *fmt,...)
void rb_check_type (VALUE x, int t)
int rb_typeddata_is_kind_of (VALUE obj, const rb_data_type_t *data_type)
void * rb_check_typeddata (VALUE obj, const rb_data_type_t *data_type)
VALUE rb_exc_new (VALUE etype, const char *ptr, long len)
VALUE rb_exc_new2 (VALUE etype, const char *s)
VALUE rb_exc_new3 (VALUE etype, VALUE str)
static VALUE exc_initialize (int argc, VALUE *argv, VALUE exc)
static VALUE exc_exception (int argc, VALUE *argv, VALUE self)
static VALUE exc_to_s (VALUE exc)
static VALUE exc_message (VALUE exc)
static VALUE exc_inspect (VALUE exc)
static VALUE exc_backtrace (VALUE exc)
VALUE rb_check_backtrace (VALUE bt)
static VALUE exc_set_backtrace (VALUE exc, VALUE bt)
static VALUE exc_equal (VALUE exc, VALUE obj)
static VALUE exit_initialize (int argc, VALUE *argv, VALUE exc)
static VALUE exit_status (VALUE exc)
static VALUE exit_success_p (VALUE exc)
void rb_name_error (ID id, const char *fmt,...)
static VALUE name_err_initialize (int argc, VALUE *argv, VALUE self)
static VALUE name_err_name (VALUE self)
static VALUE name_err_to_s (VALUE exc)
static VALUE nometh_err_initialize (int argc, VALUE *argv, VALUE self)
static void name_err_mesg_mark (void *p)
static size_t name_err_mesg_memsize (const void *p)
VALUE rb_name_err_mesg_new (VALUE obj, VALUE mesg, VALUE recv, VALUE method)
static VALUE name_err_mesg_equal (VALUE obj1, VALUE obj2)
static VALUE name_err_mesg_to_str (VALUE obj)
static VALUE name_err_mesg_load (VALUE klass, VALUE str)
static VALUE nometh_err_args (VALUE self)
void rb_invalid_str (const char *str, const char *type)
static VALUE set_syserr (int n, const char *name)
static VALUE get_syserr (int n)
static VALUE syserr_initialize (int argc, VALUE *argv, VALUE self)
static VALUE syserr_errno (VALUE self)
static VALUE syserr_eqq (VALUE self, VALUE exc)
void Init_Exception (void)
void rb_raise (VALUE exc, const char *fmt,...)
void rb_loaderror (const char *fmt,...)
void rb_notimplement (void)
void rb_fatal (const char *fmt,...)
static VALUE make_errno_exc (const char *mesg)
void rb_sys_fail (const char *mesg)
void rb_mod_sys_fail (VALUE mod, const char *mesg)
void rb_sys_warning (const char *fmt,...)
void rb_load_fail (const char *path)
void rb_error_frozen (const char *what)
void rb_check_frozen (VALUE obj)
void Init_syserr (void)

Variables

const char ruby_description []
static struct types builtin_types []
VALUE rb_eException
VALUE rb_eSystemExit
VALUE rb_eInterrupt
VALUE rb_eSignal
VALUE rb_eFatal
VALUE rb_eStandardError
VALUE rb_eRuntimeError
VALUE rb_eTypeError
VALUE rb_eArgError
VALUE rb_eIndexError
VALUE rb_eKeyError
VALUE rb_eRangeError
VALUE rb_eNameError
VALUE rb_eEncodingError
VALUE rb_eEncCompatError
VALUE rb_eNoMethodError
VALUE rb_eSecurityError
VALUE rb_eNotImpError
VALUE rb_eNoMemError
VALUE rb_cNameErrorMesg
VALUE rb_eScriptError
VALUE rb_eSyntaxError
VALUE rb_eLoadError
VALUE rb_eSystemCallError
VALUE rb_mErrno
static VALUE rb_eNOERROR
static const rb_data_type_t name_err_mesg_data_type
static st_tablesyserr_tbl

Define Documentation

#define defined_error (   name,
  num 
)    if (err == num) return name;
#define defined_error (   name,
  num 
)    set_syserr(num, name);
#define EXIT_SUCCESS   0

Definition at line 25 of file error.c.

Referenced by exit_initialize(), exit_success_p(), goruby_run_node(), options(), and rb_thread_kill().

#define NAME_ERR_MESG_COUNT   3
#define name_err_mesg_free   RUBY_TYPED_DEFAULT_FREE

Definition at line 809 of file error.c.

#define undefined_error (   name  )     set_syserr(0, name);
#define undefined_error (   name  ) 

Function Documentation

static void compile_snprintf ( char *  buf,
long  len,
const char *  file,
int  line,
const char *  fmt,
va_list  args 
) [static]

Definition at line 73 of file error.c.

References err_position_0(), and vsnprintf.

Referenced by compile_warn_print(), and rb_compile_error().

static void compile_warn_print ( const char *  file,
int  line,
const char *  fmt,
va_list  args 
) [static]

Definition at line 110 of file error.c.

References buf, compile_snprintf(), len, and rb_write_error2().

Referenced by rb_compile_warn(), and rb_compile_warning().

static void err_append ( const char *  s  )  [static]
static int err_position ( char *  buf,
long  len 
) [static]

Definition at line 56 of file error.c.

References err_position_0(), rb_sourcefile(), and rb_sourceline().

Referenced by err_snprintf().

static int err_position_0 ( char *  buf,
long  len,
const char *  file,
int  line 
) [static]

Definition at line 42 of file error.c.

References snprintf.

Referenced by compile_snprintf(), err_position(), and report_bug().

static void err_snprintf ( char *  buf,
long  len,
const char *  fmt,
va_list  args 
) [static]

Definition at line 62 of file error.c.

References err_position(), and vsnprintf.

Referenced by warn_print().

static VALUE exc_backtrace ( VALUE  exc  )  [static]

Definition at line 573 of file error.c.

References CONST_ID, and rb_attr_get().

Referenced by exc_equal(), and Init_Exception().

static VALUE exc_equal ( VALUE  exc,
VALUE  obj 
) [static]

Definition at line 629 of file error.c.

References CONST_ID, exc_backtrace(), Qundef, rb_attr_get(), rb_check_funcall(), rb_equal(), and rb_obj_class().

Referenced by Init_Exception().

static VALUE exc_exception ( int  argc,
VALUE argv,
VALUE  self 
) [static]

Definition at line 469 of file error.c.

References exc_initialize(), and rb_obj_clone().

Referenced by Init_Exception().

static VALUE exc_initialize ( int  argc,
VALUE argv,
VALUE  exc 
) [static]

Definition at line 444 of file error.c.

References Qnil, rb_iv_set(), and rb_scan_args().

Referenced by exc_exception(), and Init_Exception().

static VALUE exc_inspect ( VALUE  exc  )  [static]
static VALUE exc_message ( VALUE  exc  )  [static]

Definition at line 510 of file error.c.

References rb_funcall(), and rb_intern.

Referenced by Init_Exception().

static VALUE exc_set_backtrace ( VALUE  exc,
VALUE  bt 
) [static]

Definition at line 614 of file error.c.

References rb_check_backtrace(), and rb_iv_set().

Referenced by Init_Exception().

static VALUE exc_to_s ( VALUE  exc  )  [static]

Definition at line 490 of file error.c.

References CLASS_OF, NIL_P, OBJ_TAINT, OBJ_TAINTED, rb_attr_get(), rb_class_name(), and rb_intern.

Referenced by Init_Exception().

static VALUE exit_initialize ( int  argc,
VALUE argv,
VALUE  exc 
) [static]

Definition at line 667 of file error.c.

References EXIT_SUCCESS, FIXNUM_P, INT2FIX, rb_call_super(), and rb_iv_set().

Referenced by Init_Exception().

static VALUE exit_status ( VALUE  exc  )  [static]

Definition at line 688 of file error.c.

References rb_attr_get(), and rb_intern.

Referenced by Init_Exception().

static VALUE exit_success_p ( VALUE  exc  )  [static]

Definition at line 702 of file error.c.

References EXIT_SUCCESS, INT2FIX, NIL_P, rb_attr_get(), and rb_intern.

Referenced by Init_Exception().

static VALUE get_syserr ( int  n  )  [static]

Definition at line 986 of file error.c.

References name, set_syserr(), snprintf, and st_lookup().

Referenced by make_errno_exc().

void Init_Exception ( void   ) 
void Init_syserr ( void   ) 

Definition at line 1578 of file error.c.

References rb_eNOERROR, and set_syserr().

static VALUE make_errno_exc ( const char *  mesg  )  [static]

Definition at line 1511 of file error.c.

References errno, get_syserr(), rb_bug(), rb_class_new_instance(), and rb_str_new2().

Referenced by rb_mod_sys_fail(), and rb_sys_fail().

static VALUE name_err_initialize ( int  argc,
VALUE argv,
VALUE  self 
) [static]

Definition at line 735 of file error.c.

References name, Qnil, rb_call_super(), and rb_iv_set().

Referenced by Init_Exception(), and nometh_err_initialize().

static VALUE name_err_mesg_equal ( VALUE  obj1,
VALUE  obj2 
) [static]

Definition at line 843 of file error.c.

References rb_cNameErrorMesg, rb_equal(), rb_obj_class(), and TypedData_Get_Struct.

Referenced by Init_Exception().

static VALUE name_err_mesg_load ( VALUE  klass,
VALUE  str 
) [static]

Definition at line 909 of file error.c.

Referenced by Init_Exception().

static void name_err_mesg_mark ( void *  p  )  [static]

Definition at line 803 of file error.c.

References NAME_ERR_MESG_COUNT, and rb_gc_mark_locations.

static size_t name_err_mesg_memsize ( const void *  p  )  [static]

Definition at line 812 of file error.c.

References NAME_ERR_MESG_COUNT.

static VALUE name_err_mesg_to_str ( VALUE  obj  )  [static]
static VALUE name_err_name ( VALUE  self  )  [static]

Definition at line 753 of file error.c.

References rb_attr_get(), and rb_intern.

Referenced by Init_Exception().

static VALUE name_err_to_s ( VALUE  exc  )  [static]

Definition at line 766 of file error.c.

References CLASS_OF, NIL_P, OBJ_TAINT, OBJ_TAINTED, rb_attr_get(), rb_class_name(), rb_intern, rb_iv_set(), and StringValue.

Referenced by Init_Exception().

static VALUE nometh_err_args ( VALUE  self  )  [static]

Definition at line 923 of file error.c.

References rb_attr_get(), and rb_intern.

Referenced by Init_Exception().

static VALUE nometh_err_initialize ( int  argc,
VALUE argv,
VALUE  self 
) [static]

Definition at line 791 of file error.c.

References name_err_initialize(), Qnil, and rb_iv_set().

Referenced by Init_Exception().

void rb_bug ( const char *  fmt,
  ... 
)

Definition at line 241 of file error.c.

References rb_sourcefile(), rb_sourceline(), and report_bug().

Referenced by add_opt_method(), assign_heap_slot(), big2str_find_n1(), big_fdiv(), BigDecimalCmp(), catch_type(), check_env_value(), classname(), compile_array_(), econv_convert(), econv_finish(), error_handle(), eval_queue_handler(), eventloop_sleep(), exception_type2symbol(), fiber_switch(), gc_mark_children(), get_dyna_var_idx(), get_local_var_idx(), glob_helper(), insn_operand_intern(), ip_rb_threadUpdateCommand(), ip_rbUpdateCommand(), ip_rbVwaitCommand(), iseq_compile_each(), iseq_data_to_ary(), iseq_set_arguments(), iseq_set_sequence(), make_errno_exc(), memsize_of(), mutex_free(), obj_free(), pack_pack(), pack_unpack(), power_cache_get_power(), rb_add_method(), rb_bug_errno(), rb_check_deadlock(), rb_check_type(), rb_dlhandle_initialize(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_initialize(), rb_dlptr_s_malloc(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_econv_open_opts(), rb_enc_from_encoding_index(), rb_fiber_start(), rb_iseq_compile_node(), rb_memsearch_ss(), rb_method_definition_eq(), rb_method_entry_arity(), rb_mutex_unlock_all(), rb_newobj(), rb_struct_eql(), rb_struct_equal(), rb_thread_call_with_gvl(), rb_thread_terminate_all(), rb_trans_conv(), rb_vm_make_proc(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), ruby_node_name(), setup_args(), singleton_class_of(), tcl_protect(), thread_free(), thread_start_func_2(), update_coverage(), verify_list(), vm_call0(), vm_call_cfunc(), vm_call_method(), vm_call_super(), vm_exec_core(), vm_get_cref(), vm_getspecial(), vm_make_env_each(), vm_search_normal_superclass(), vm_throw(), VpDivd(), and vtable_add().

void rb_bug_errno ( const char *  mesg,
int  errno_arg 
)

Definition at line 257 of file error.c.

References rb_bug(), rb_strerrno(), and strerror().

VALUE rb_check_backtrace ( VALUE  bt  ) 

Definition at line 582 of file error.c.

References err, NIL_P, RARRAY_LEN, RARRAY_PTR, rb_ary_new3(), rb_eTypeError, rb_raise(), T_ARRAY, T_STRING, and TYPE.

Referenced by exc_set_backtrace(), and get_backtrace().

void rb_check_frozen ( VALUE  obj  ) 
void rb_check_type ( VALUE  x,
int  t 
)
void* rb_check_typeddata ( VALUE  obj,
const rb_data_type_t data_type 
)
void rb_compile_bug ( const char *  file,
int  line,
const char *  fmt,
  ... 
)

Definition at line 271 of file error.c.

References report_bug().

void rb_compile_error ( const char *  file,
int  line,
const char *  fmt,
  ... 
)
void rb_compile_error_append ( const char *  fmt,
  ... 
)

Definition at line 98 of file error.c.

References buf, err_append(), and vsnprintf.

Referenced by parser_yyerror().

void rb_compile_warn ( const char *  file,
int  line,
const char *  fmt,
  ... 
)

Definition at line 122 of file error.c.

References buf, compile_warn_print(), NIL_P, ruby_verbose, and snprintf.

Referenced by onig_syntax_warn(), and parser_warn().

void rb_compile_warning ( const char *  file,
int  line,
const char *  fmt,
  ... 
)
void rb_error_frozen ( const char *  what  ) 
VALUE rb_exc_new ( VALUE  etype,
const char *  ptr,
long  len 
)

Definition at line 417 of file error.c.

References rb_funcall(), rb_intern, and rb_str_new().

Referenced by ossl_make_error(), rb_exc_new2(), and setup_exception().

VALUE rb_exc_new2 ( VALUE  etype,
const char *  s 
)
VALUE rb_exc_new3 ( VALUE  etype,
VALUE  str 
)
void rb_fatal ( const char *  fmt,
  ... 
)
void rb_invalid_str ( const char *  str,
const char *  type 
)

Definition at line 929 of file error.c.

References rb_eArgError, rb_raise(), rb_str_inspect(), rb_str_new2(), and RSTRING_PTR.

Referenced by rb_cstr_to_dbl(), and rb_cstr_to_inum().

void rb_load_fail ( const char *  path  ) 

Definition at line 1560 of file error.c.

References errno, rb_loaderror(), and strerror().

Referenced by load_file_internal().

void rb_loaderror ( const char *  fmt,
  ... 
)

Definition at line 1478 of file error.c.

References rb_eLoadError, rb_enc_vsprintf(), rb_exc_new3(), rb_exc_raise(), and rb_locale_encoding().

Referenced by dln_load(), and rb_load_fail().

void rb_mod_sys_fail ( VALUE  mod,
const char *  mesg 
)
VALUE rb_name_err_mesg_new ( VALUE  obj,
VALUE  mesg,
VALUE  recv,
VALUE  method 
)
void rb_name_error ( ID  id,
const char *  fmt,
  ... 
)
void rb_notimplement ( void   ) 
void rb_raise ( VALUE  exc,
const char *  fmt,
  ... 
)

Definition at line 1466 of file error.c.

References rb_exc_new3(), rb_exc_raise(), and rb_vsprintf().

Referenced by addrinfo_initialize(), addrinfo_ip_address(), addrinfo_ip_port(), addrinfo_ip_unpack(), addrinfo_mdump(), addrinfo_mload(), argf_fileno(), argf_rewind(), argf_seek_m(), argf_set_encoding(), argf_set_pos(), argf_tell(), ary2safe_array_index(), ary_join_1(), ary_new(), ary_new_dim(), ary_take_first_or_last(), autoload_node(), big2str_find_n1(), big2ulong(), BigDecimal_DoDivmod(), BigDecimal_limit(), BigDecimal_load(), BigDecimal_mode(), BigDecimal_round(), bit_coerce(), bsock_close_read(), bsock_close_write(), bsock_shutdown(), bubblebabble_str_new(), bug_funcall(), call_cfunc(), call_getaddrinfo(), callback(), caller_setup_args(), cbsubst_def_attr_aliases(), cbsubst_get_subst_arg(), cbsubst_table_setup(), check_dump_arg(), check_econv(), check_exec_env_i(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), check_gid_switch(), check_iconv(), check_load_arg(), check_modifiable(), check_strscan(), check_uid_switch(), chunk_ii(), class2path(), closed_dbm(), closed_sdbm(), coerce_rescue(), constant_arg(), convert_encoding(), convert_type(), convert_UTF8_to_JSON_ASCII(), copy_stream_body(), copy_stream_fallback(), copy_stream_finalize(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cParser_initialize(), cParser_parse(), create_dummy_encoding_for_tk_core(), cState_configure(), cState_generate(), cState_init_copy(), curses_char(), curses_init_screen(), dbl2big(), default_proc_arity_check(), define_final(), dir_check(), dir_closed(), dir_rewind(), dir_s_chdir(), divmodv(), dlhandle_sym(), do_coerce(), do_writeconv(), dump_disasm_list(), each_attr_def(), econv_convert(), econv_get_replacement(), econv_init(), econv_insert_output(), econv_opts(), econv_primitive_convert(), econv_set_replacement(), emit(), enc_check_duplication(), enum_chunk(), enum_drop(), enum_each_cons(), enum_each_slice(), enum_first(), enum_sort_by(), enum_take(), enumerator_feed(), enumerator_init(), enumerator_init_copy(), enumerator_initialize(), enumerator_ptr(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), errat_setter(), esignal_init(), etc_getgrgid(), etc_getgrnam(), etc_getpwnam(), etc_getpwuid(), ev_advise(), ev_on_event(), eval_string_with_cref(), extract_binmode(), extract_user_token(), f_round_common(), fdbm_clear(), fdbm_delete(), fdbm_delete_if(), fdbm_fetch_m(), fdbm_store(), fev_off_event(), fgdbm_clear(), fgdbm_fetch_m(), fgdbm_initialize(), fgdbm_set_cachesize(), fgdbm_set_fastmode(), fgdbm_set_syncmode(), fgdbm_store(), fiber_switch(), file_expand_path(), file_inspect_join(), flatten(), fole_initialize(), fole_method_help(), fole_missing(), fole_query_interface(), fole_respond_to(), fole_s_connect(), fole_s_const_load(), fole_s_create_guid(), fole_s_set_locale(), fole_s_show_help(), fole_type(), fole_typelib(), folemethod_initialize(), foleparam_initialize(), foletype_initialize(), foletypelib_initialize(), folevariant_ary_aref(), folevariant_ary_aset(), folevariant_initialize(), folevariant_s_array(), folevariant_set_value(), forbid_setid(), fsdbm_clear(), fsdbm_delete(), fsdbm_delete_if(), fsdbm_fetch_m(), fsdbm_store(), function_call(), generate_json(), generator_init(), generator_init_copy(), generator_initialize(), generator_ptr(), generic_to_value(), get_addrinfo(), get_device_once(), get_digest_base_metadata(), get_exception_sym2type(), get_hash(), get_iconv_opt_i(), get_locked_safe_array(), get_stat(), get_strio(), get_zstream(), GetPositiveInt(), GetVpValue(), hash2named_arg(), hash_foreach_call(), hash_foreach_iter(), hash_update(), hexencode_str_new(), hist_delete_at(), hist_get(), host_str(), iconv_convert(), iconv_s_iconv(), id2ref(), init_addrinfo(), init_copy(), Init_tcltklib(), initialize(), initialize_params(), insn_data_to_s_detail(), int_chr(), int_round(), int_to_ffi_type(), io_getc(), io_getpartial(), io_read(), io_reopen(), io_ungetbyte(), ip_allow_ruby_exit_p(), ip_allow_ruby_exit_set(), ip_cancel_eval_core(), ip_create_console(), ip_create_console_core(), ip_create_slave(), ip_init(), ip_invoke_with_position(), ip_is_safe_p(), ip_is_slave_of_p(), ip_make_menu_embeddable_core(), ip_make_safe(), ip_restart(), ip_ruby_cmd(), ip_ruby_eval(), iseq_build_body(), iseq_build_exception(), iseq_check(), iseq_load(), JSON_parse_array(), JSON_parse_object(), JSON_parse_value(), lexer_i(), lib_do_one_event_core(), lib_fromUTF8_core(), lib_get_reltype_name(), lib_mainloop_watchdog(), lib_restart(), lib_set_system_encoding(), lib_split_tklist_core(), lib_toUTF8_core(), load_file_internal(), long_toobig(), make_addrinfo(), make_compile_option(), make_exception(), marshal_dump(), marshal_load(), match_backref_number(), match_begin(), match_check(), match_end(), match_init_copy(), match_offset(), method_missing(), mod_av_set(), mSyslog_close(), mSyslog_log(), mSyslog_open(), mSyslog_set_mask(), must_be_ascii_compatible(), must_encoding(), must_not_be_anonymous(), must_respond_to(), name_to_backref_number(), negative_size_allocation_error(), negative_size_allocation_error_with_gvl(), new_size(), no_window(), nucomp_coerce(), nucomp_real_check(), nucomp_s_convert(), nucomp_to_f(), nucomp_to_i(), nucomp_to_r(), num_exact(), num_init_copy(), num_members(), num_sadded(), num_step(), nurat_coerce(), nurat_int_check(), nurat_s_convert(), ole_cp2encoding(), ole_create_dcom(), ole_invoke(), ole_invoke2(), ole_raise(), ole_set_byref(), ole_set_safe_array(), ole_val2olevariantdata(), ole_val_ary2variant_ary(), ole_variant2val(), ole_vstr2wc(), oleparam_ole_param_from_index(), onigenc_single_byte_code_to_mbc(), open_key_args(), opt_enc_index(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_config_initialize(), ossl_pkcs12_s_create(), ossl_sslctx_flush_sessions(), pack_pack(), pack_unpack(), parse(), parse_main(), path2class(), path2module(), permute0(), pipe_open(), pipe_open_s(), port_str(), prep_window(), prepare_getline_args(), proc_binding(), proc_curry(), proc_new(), proc_options(), r_byte(), r_bytes0(), r_object0(), r_symbol(), r_symlink(), racc_yyparse(), raise_method_missing(), rand_init(), random_load(), random_rand(), range_each(), range_failed(), range_loader(), range_max(), range_step(), rb_alias(), rb_alias_variable(), rb_ary_aset(), rb_ary_combination(), rb_ary_drop(), rb_ary_fetch(), rb_ary_fill(), rb_ary_initialize(), rb_ary_insert(), rb_ary_modify_check(), rb_ary_product(), rb_ary_sample(), rb_ary_splice(), rb_ary_store(), rb_ary_take(), rb_ary_times(), rb_ary_transpose(), rb_attr(), rb_autoload(), rb_big2long(), rb_big2str0(), rb_big2ulong(), rb_big_coerce(), rb_binding_new(), rb_check_argv(), rb_check_backtrace(), rb_check_convert_type(), rb_check_inheritable(), rb_check_safe_str(), rb_check_type(), rb_check_typeddata(), rb_class_inherited_p(), rb_class_init_copy(), rb_class_initialize(), rb_class_superclass(), rb_cmperr(), rb_const_remove(), rb_const_set(), rb_cont_call(), rb_convert_to_integer(), rb_convert_type(), rb_coverage_result(), rb_cstr_to_dbl(), rb_cstr_to_inum(), rb_declare_transcoder(), rb_define_class(), rb_define_class_id_under(), rb_define_module(), rb_define_module_id_under(), rb_digest_base_alloc(), rb_digest_class_s_digest(), rb_digest_instance_method_unimpl(), rb_dlcfunc2ptr(), rb_dlcfunc_call(), rb_dlhandle_close(), rb_dlhandle_initialize(), rb_dlhandle_sym(), rb_dlptr2cptr(), rb_dlptr_s_to_ptr(), rb_econv_init_by_convpath(), rb_econv_prepare_opts(), rb_econv_substr_append(), rb_enc_associate_index(), rb_enc_check(), rb_enc_codelen(), rb_enc_codepoint_len(), rb_enc_cr_str_buf_cat(), rb_enc_find_index(), rb_enc_register(), rb_enc_set_default_external(), rb_enc_uint_chr(), rb_eof_error(), rb_error_frozen(), rb_exec_arg_addopt(), rb_f_at_exit(), rb_f_autoload(), rb_f_caller(), rb_f_eval(), rb_f_getenv(), rb_f_kill(), rb_f_require_relative(), rb_f_sleep(), rb_f_test(), rb_f_trace_var(), rb_fiber_resume(), rb_file_initialize(), rb_file_join(), rb_file_s_basename(), rb_file_s_umask(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_fix2str(), rb_Float(), rb_gdbm_delete(), rb_gdbm_fatal(), rb_gvar_set(), rb_hash_fetch_m(), rb_hash_initialize(), rb_hash_modify_check(), rb_hash_rehash(), rb_hash_s_create(), rb_hash_set_default_proc(), rb_home_dir(), rb_include_module(), rb_insecure_operation(), rb_intern3(), rb_interrupt(), rb_invalid_str(), rb_io_check_byte_readable(), rb_io_check_char_readable(), rb_io_check_closed(), rb_io_check_initialized(), rb_io_check_writable(), rb_io_close_m(), rb_io_close_read(), rb_io_close_write(), rb_io_ctl(), rb_io_each_codepoint(), rb_io_extract_modeenc(), rb_io_fmode_modestr(), rb_io_modestr_fmode(), rb_io_oflags_modestr(), rb_io_reopen(), rb_io_s_popen(), rb_io_sysread(), rb_io_sysseek(), rb_io_taint_check(), rb_io_ungetc(), rb_io_wait_readable(), rb_io_wait_writable(), rb_ivar_set(), rb_marshal_define_compat(), rb_method_call(), rb_method_call_status(), rb_method_entry_make(), rb_mod_define_method(), rb_mod_ge(), rb_mod_modfunc(), rb_mod_remove_cvar(), rb_mutex_lock(), rb_mutex_unlock(), rb_nkf_convert(), rb_notimplement(), rb_num2dbl(), rb_num2fix(), rb_num2long(), rb_num2ulong(), rb_num_zerodiv(), rb_obj_alloc(), rb_obj_clone(), rb_obj_dup(), rb_obj_encoding(), rb_obj_extend(), rb_obj_freeze(), rb_obj_init_copy(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_remove_instance_variable(), rb_ossl_config_modify_check(), rb_path_to_class(), rb_range_beg_len(), rb_reg_check(), rb_reg_init_copy(), rb_reg_initialize(), rb_reg_initialize_m(), rb_reg_prepare_enc(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_raise(), rb_reg_regsub(), rb_reg_s_union(), rb_register_transcoder(), rb_scan_args(), rb_search_method_entry(), rb_secure(), rb_set_errinfo(), rb_stat_init_copy(), rb_str_aref_m(), rb_str_aset(), rb_str_aset_m(), rb_str_buf_cat(), rb_str_cat(), rb_str_check_dummy_enc(), rb_str_concat(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_format(), rb_str_hex(), rb_str_index_m(), rb_str_justify(), rb_str_match(), rb_str_match_m(), rb_str_new_cstr(), rb_str_oct(), rb_str_partition(), rb_str_resize(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_setbyte(), rb_str_setter(), rb_str_slice_bang(), rb_str_splice(), rb_str_split_m(), rb_str_sub_bang(), rb_str_subpat_set(), rb_str_times(), rb_str_to_dbl(), rb_str_to_i(), rb_str_unlocktmp(), rb_string_value_cstr(), rb_struct_aref(), rb_struct_aset(), rb_struct_aset_id(), rb_struct_init_copy(), rb_struct_initialize_m(), rb_struct_members(), rb_struct_modify(), rb_struct_s_members(), rb_struct_select(), rb_syck_compile(), rb_syck_err_handler(), rb_thread_local_aref(), rb_thread_local_aset(), rb_thread_s_kill(), rb_thread_stop(), rb_thread_wait_fd_rw(), rb_thread_wakeup(), rb_throw_obj(), rb_to_float(), rb_to_id(), rb_to_integer(), rb_undef(), rb_uv_to_utf8(), rb_waitpid(), rb_yield_splat(), rcombinate0(), readable(), readline_readline(), readline_s_set_completion_proc(), recursive_join(), recursive_pop(), reduce0(), reg_enc_error(), reg_operand(), remain_size(), remove_method(), return_fiber(), ripper_token2eventid(), rlimit_resource_type(), rlimit_resource_value(), rpermute0(), rscheck(), rsock_getaddrinfo(), rsock_init_sock(), rsock_io_socket_addrinfo(), rsock_raise_socket_error(), rsock_revlookup_flag(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), ruby__sfvwrite(), RUBY_ALIAS_FUNCTION(), ruby_xmalloc2(), ruby_xrealloc2(), safe_setter(), secure_visibility(), security(), send_internal(), set_arg0(), set_eventloop_tick(), set_eventloop_weight(), set_max_block_time(), set_no_event_wait(), set_option_encoding_once(), set_trace_func(), sig_trap(), singleton_class_of(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), sock_s_unpack_sockaddr_in(), sock_sockaddr(), sockopt_bool(), sockopt_int(), sockopt_linger(), sort_by_cmp(), sort_by_i(), sort_reentered(), specific_eval(), st_foreach_safe(), start_document(), str_buf_cat(), str_encode_bang(), str_frozen_check(), str_gsub(), str_mod_check(), str_modifiable(), str_new(), str_transcode0(), string_to_c_strict(), string_to_r_strict(), strio_close(), strio_close_read(), strio_close_write(), strio_read(), strio_seek(), strio_size(), strscan_do_scan(), strscan_set_pos(), strscan_unscan(), syck_map_initialize(), syck_map_value_set(), syck_node_init_copy(), syck_parser_assign_io(), syck_resolver_transfer(), sym_call(), syserr_initialize(), syslog_write(), tcl_stubs_check(), test_check(), thgroup_add(), thread_add_trace_func(), thread_create_core(), thread_initialize(), thread_s_new(), time_fixoff(), time_gmtime(), time_localtime(), time_mdump(), time_mload(), time_modify(), time_overflow_p(), time_plus(), time_round(), time_strftime(), time_timespec(), timegmw(), timelocalw(), timew2timespec(), tk_conv_args(), tk_hash_kv(), tkstr_invalid_numstr(), to_encoding(), transcode_loop(), transcode_restartable0(), trap_handler(), trap_signm(), trnext(), umethod_bind(), update_i(), uscore_get(), utc_offset_arg(), utf8_to_uv(), val2variant_ptr(), validate_enc_binmode(), validate_utc_offset(), validate_vtm(), value_to_generic(), value_to_id(), vm_call0(), vm_call_method(), vm_check_if_namespace(), vm_define_method(), vm_get_cvar_base(), vm_search_superclass(), vm_set_top_stack(), vm_setivar(), VpException(), w_extended(), w_long(), w_object(), w_symbol(), wdivmod(), writable(), wv2timet(), yielder_init(), and yielder_ptr().

static const char* rb_strerrno ( int  err  )  [static]

Definition at line 31 of file error.c.

Referenced by rb_bug_errno().

void rb_sys_fail ( const char *  mesg  ) 

Definition at line 1526 of file error.c.

References make_errno_exc(), and rb_exc_raise().

Referenced by bsock_getpeername(), bsock_getsockname(), bsock_local_address(), bsock_remote_address(), bsock_shutdown(), chfunc(), chmod_internal(), chown_internal(), copy_stream_body(), copy_stream_finalize(), dir_chdir(), dir_initialize(), dir_read(), dir_s_mkdir(), dir_s_rmdir(), establishShell(), fdbm_initialize(), fdbm_store(), fgdbm_initialize(), fgdbm_store(), flush_before_seek(), fsdbm_initialize(), fsdbm_store(), init_inetsock_internal(), io_reopen(), io_wait(), ip_addr(), ip_peeraddr(), make_fd_nonblock(), ossl_obj2bio(), ossl_ssl_read_internal(), ossl_ssl_write_internal(), ossl_start_ssl(), p_gid_change_privilege(), p_gid_exchange(), p_gid_switch(), p_uid_change_privilege(), p_uid_exchange(), p_uid_switch(), pipe_open(), proc_wait(), proc_waitall(), pty_getpty(), raise_zlib_error(), rb_f_exec(), rb_f_kill(), rb_f_spawn(), rb_f_test(), rb_fdopen(), rb_file_s_atime(), rb_file_s_ctime(), rb_file_s_ftype(), rb_file_s_lstat(), rb_file_s_mtime(), rb_file_s_size(), rb_file_s_stat(), rb_io_check_char_readable(), rb_io_flush(), rb_io_initialize(), rb_io_reopen(), rb_io_s_pipe(), rb_io_write_nonblock(), rb_setegid_core(), rb_seteuid_core(), rb_stat_init(), rb_sysopen(), rb_thread_wait_fd_rw(), realpath_rec(), remain_size(), rsock_bsock_send(), rsock_fd_socket_addrinfo(), rsock_init_sock(), rsock_raise_socket_error(), rsock_s_accept(), rsock_s_accept_nonblock(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_sock_listen(), ruby_dup(), ruby_getcwd(), ruby_setenv(), select_internal(), sock_bind(), sock_connect(), sock_connect_nonblock(), sock_initialize(), strio_init(), sys_fail2(), time_init_0(), udp_bind(), udp_connect(), udp_init(), udp_send(), and unlink_internal().

void rb_sys_warning ( const char *  fmt,
  ... 
)

Definition at line 1540 of file error.c.

References buf, errno, RTEST, ruby_verbose, snprintf, strerror(), and warn_print().

Referenced by sys_warning_1().

int rb_typeddata_is_kind_of ( VALUE  obj,
const rb_data_type_t data_type 
)
void rb_vm_bugreport ( void   ) 

Definition at line 590 of file vm_dump.c.

Referenced by report_bug(), and sdr().

void rb_warn ( const char *  fmt,
  ... 
)
static VALUE rb_warn_m ( VALUE  self,
VALUE  mesg 
) [static]

Definition at line 204 of file error.c.

References NIL_P, rb_default_rs, rb_io_write(), rb_stderr, and ruby_verbose.

Referenced by Init_Exception().

void rb_warning ( const char *  fmt,
  ... 
)
static void report_bug ( const char *  file,
int  line,
const char *  fmt,
va_list  args 
) [static]

Definition at line 216 of file error.c.

References buf, err_position_0(), len, rb_vm_bugreport(), and ruby_description.

Referenced by rb_bug(), and rb_compile_bug().

static VALUE set_syserr ( int  n,
const char *  name 
) [static]
static VALUE syserr_eqq ( VALUE  self,
VALUE  exc 
) [static]
static VALUE syserr_errno ( VALUE  self  )  [static]

Definition at line 1063 of file error.c.

References rb_attr_get(), and rb_intern.

Referenced by Init_Exception().

static VALUE syserr_initialize ( int  argc,
VALUE argv,
VALUE  self 
) [static]
static void warn_print ( const char *  fmt,
va_list  args 
) [static]

Definition at line 153 of file error.c.

References buf, err_snprintf(), len, and rb_write_error2().

Referenced by rb_sys_warning(), rb_warn(), and rb_warning().


Variable Documentation

struct types builtin_types[] [static]

Referenced by rb_check_type().

Initial value:
 {
    "name_err_mesg",
    name_err_mesg_mark,
    name_err_mesg_free,
    name_err_mesg_memsize,
}

Definition at line 817 of file error.c.

Definition at line 404 of file error.c.

Referenced by Init_Exception(), name_err_mesg_equal(), and rb_name_err_mesg_new().

Definition at line 393 of file error.c.

Referenced by argf_fileno(), argf_rewind(), argf_seek_m(), argf_set_encoding(), argf_set_pos(), argf_tell(), argument_error(), ary2safe_array_index(), ary_join_1(), ary_new(), ary_take_first_or_last(), autoload_node(), BigDecimal_limit(), bsock_shutdown(), bug_funcall(), call_cfunc(), cbsubst_def_attr_aliases(), cbsubst_get_subst_arg(), cbsubst_table_setup(), check_exec_env_i(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), check_iconv(), copy_stream_fallback(), cParser_initialize(), create_dummy_encoding_for_tk_core(), cState_configure(), cState_init_copy(), curses_char(), define_final(), dir_s_chdir(), do_writeconv(), DupPrivPKeyPtr(), each_attr_def(), econv_convert(), econv_insert_output(), econv_opts(), econv_primitive_convert(), enc_check_duplication(), enum_chunk(), enum_drop(), enum_each_cons(), enum_each_slice(), enum_first(), enum_take(), enumerator_init(), enumerator_init_copy(), enumerator_initialize(), enumerator_ptr(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), errat_setter(), esignal_init(), etc_getgrgid(), etc_getgrnam(), etc_getpwnam(), etc_getpwuid(), extract_binmode(), extract_user_token(), file_expand_path(), file_inspect_join(), flatten(), foletypelib_initialize(), folevariant_initialize(), function_call(), generator_init(), generator_init_copy(), generator_ptr(), get_hash(), get_iconv_opt_i(), GetPositiveInt(), GetPrivPKeyPtr(), host_str(), iconv_convert(), iconv_s_iconv(), init_addrinfo(), Init_Exception(), Init_iconv(), int_chr(), int_round(), io_getpartial(), io_read(), io_reopen(), ip_invoke_with_position(), ip_is_slave_of_p(), ip_make_menu_embeddable_core(), ip_ruby_cmd(), ip_ruby_eval(), lexer_i(), lib_fromUTF8_core(), lib_set_system_encoding(), lib_toUTF8_core(), make_exception(), mSyslog_log(), must_be_ascii_compatible(), num_step(), open_key_args(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_cipher_update(), ossl_config_initialize(), ossl_pkcs12_s_create(), ossl_pkey_sign(), ossl_ssl_session_initialize(), ossl_sslctx_flush_sessions(), ossl_sslctx_set_ssl_version(), pack_pack(), pack_unpack(), parse_main(), parser_set_encode(), path2class(), path2module(), pipe_open(), port_str(), prepare_getline_args(), proc_binding(), proc_curry(), proc_new(), r_byte(), r_bytes0(), r_object0(), r_symbol(), r_symlink(), racc_yyparse(), raise_method_missing(), random_load(), random_rand(), range_failed(), range_step(), rb_ary_aset(), rb_ary_drop(), rb_ary_fill(), rb_ary_initialize(), rb_ary_insert(), rb_ary_sample(), rb_ary_take(), rb_ary_times(), rb_attr(), rb_autoload(), rb_big2str0(), rb_check_argv(), rb_cmperr(), rb_convert_to_integer(), rb_cstr_to_dbl(), rb_cstr_to_inum(), rb_declare_transcoder(), rb_digest_class_s_digest(), rb_econv_init_by_convpath(), rb_econv_prepare_opts(), rb_econv_substr_append(), rb_enc_associate_index(), rb_enc_codelen(), rb_enc_codepoint_len(), rb_enc_cr_str_buf_cat(), rb_enc_find_index(), rb_enc_register(), rb_enc_set_default_external(), rb_exec_arg_addopt(), rb_f_at_exit(), rb_f_caller(), rb_f_getenv(), rb_f_kill(), rb_f_sleep(), rb_f_test(), rb_file_join(), rb_file_s_umask(), rb_fix2str(), rb_hash_initialize(), rb_hash_s_create(), rb_home_dir(), rb_include_module(), rb_invalid_str(), rb_io_ctl(), rb_io_each_codepoint(), rb_io_extract_modeenc(), rb_io_fmode_modestr(), rb_io_modestr_fmode(), rb_io_oflags_modestr(), rb_io_reopen(), rb_io_s_popen(), rb_mod_define_method(), rb_nkf_convert(), rb_obj_extend(), rb_path_to_class(), rb_reg_initialize_m(), rb_reg_prepare_enc(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_s_union(), rb_register_transcoder(), rb_scan_args(), rb_str_aref_m(), rb_str_aset_m(), rb_str_buf_cat(), rb_str_cat(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_format(), rb_str_justify(), rb_str_match_m(), rb_str_new_cstr(), rb_str_resize(), rb_str_slice_bang(), rb_str_split_m(), rb_str_sub_bang(), rb_str_times(), rb_str_to_dbl(), rb_str_to_i(), rb_string_value_cstr(), rb_struct_initialize_m(), rb_struct_select(), rb_syck_err_handler(), rb_syck_mktime(), rb_throw_obj(), rb_waitpid(), rb_yield_splat(), readline_s_set_completion_proc(), recursive_join(), rlimit_resource_type(), rlimit_resource_value(), rsock_init_sock(), rsock_revlookup_flag(), ruby_xmalloc2(), ruby_xrealloc2(), send_internal(), set_eventloop_tick(), set_eventloop_weight(), set_max_block_time(), set_no_event_wait(), sig_trap(), sock_s_getnameinfo(), sock_s_unpack_sockaddr_in(), specific_eval(), str_buf_cat(), str_gsub(), str_new(), str_transcode0(), string_to_c_strict(), string_to_r_strict(), strio_read(), sym_call(), syslog_write(), tcl2rb_num_or_str(), test_check(), time_fixoff(), time_gmtime(), time_localtime(), time_mdump(), time_overflow_p(), time_round(), time_strftime(), time_timespec(), timegmw(), timelocalw(), timew2timespec(), tk_conv_args(), tk_hash_kv(), tkstr_invalid_numstr(), tkstr_rescue_float(), tkstr_to_number(), to_encoding(), transcode_loop(), trap_handler(), trap_signm(), trnext(), update_i(), utc_offset_arg(), utf8_to_uv(), validate_enc_binmode(), validate_utc_offset(), validate_vtm(), vm_call0(), vm_call_method(), w_object(), yielder_init(), and yielder_ptr().

Definition at line 398 of file error.c.

Referenced by Init_Exception(), Init_transcode(), and rb_intern3().

Definition at line 395 of file error.c.

Referenced by env_fetch(), Init_Exception(), rb_hash_fetch_m(), and rb_str_format().

VALUE rb_eNOERROR [static]

Definition at line 412 of file error.c.

Referenced by Init_syserr().

Definition at line 391 of file error.c.

Referenced by ary2safe_array_index(), ary_new_dim(), bubblebabble_str_new(), callback(), check_dump_arg(), check_gid_switch(), check_load_arg(), check_uid_switch(), chunk_ii(), closed_dbm(), create_dummy_encoding_for_tk_core(), curses_init_screen(), emit(), enum_sort_by(), error_print(), ev_advise(), eval_string_with_cref(), flatten(), fole_each(), fole_method_help(), fole_missing(), fole_query_interface(), fole_s_const_load(), fole_s_create_guid(), fole_s_show_help(), fole_type(), fole_typelib(), folevariant_ary_aset(), folevariant_s_array(), generic_to_value(), get_device_once(), get_digest_base_metadata(), get_locked_safe_array(), GetDigestPtr(), hash_foreach_call(), hash_foreach_iter(), hash_update(), hexencode_str_new(), Init_cparse(), Init_Exception(), Init_iconv(), Init_pty(), Init_win32ole(), initialize(), int_to_ffi_type(), ip_allow_ruby_exit_p(), ip_allow_ruby_exit_set(), ip_create_console(), ip_create_console_core(), ip_create_slave(), ip_create_slave_core(), ip_eval_real(), ip_get_variable2_core(), ip_init(), ip_invoke_core(), ip_is_safe_p(), ip_make_menu_embeddable_core(), ip_make_safe(), ip_make_safe_core(), ip_rb_threadTkWaitCommand(), ip_rb_threadUpdateCommand(), ip_rb_threadVwaitCommand(), ip_rbTkWaitCommand(), ip_rbUpdateCommand(), ip_rbVwaitCommand(), ip_restart(), ip_ruby_cmd(), ip_ruby_eval(), ip_set_variable2_core(), ip_unset_variable2_core(), lib_do_one_event_core(), lib_get_reltype_name(), lib_restart(), lib_restart_core(), lib_split_tklist_core(), make_exception(), mSyslog_close(), mSyslog_open(), mSyslog_set_mask(), new_size(), no_window(), ole_create_dcom(), ole_initialize(), ole_invoke(), ole_pure_initialize(), ole_set_safe_array(), ole_val2olevariantdata(), ole_val_ary2variant_ary(), ole_variant2val(), oleparam_ole_param_from_index(), opt_enc_index(), ossl_cipher_initialize(), ossl_digest_alloc(), pack_pack(), permute0(), prep_window(), proc_options(), rb_alias_variable(), rb_ary_combination(), rb_ary_product(), rb_binding_new(), rb_cont_call(), rb_coverage_result(), rb_digest_instance_method_unimpl(), rb_error_frozen(), rb_file_initialize(), rb_hash_rehash(), rb_intern3(), rb_reg_regsub(), rb_str_unlocktmp(), rcombinate0(), ripper_token2eventid(), rpermute0(), rscheck(), rsock_s_recvfrom(), ruby__sfvwrite(), RUBY_ALIAS_FUNCTION(), set_arg0(), set_option_encoding_once(), setup_exception(), sort_by_cmp(), sort_by_i(), sort_reentered(), st_foreach_safe(), start_document(), str_encode_bang(), str_frozen_check(), str_gsub(), str_mod_check(), str_modifiable(), syslog_write(), tcl_stubs_check(), tcltkip_init_tk(), transcode_restartable0(), typeinfo_from_ole(), unlock_safe_array(), val2variant_ptr(), value_to_generic(), vm_search_superclass(), and w_object().

Definition at line 406 of file error.c.

Referenced by Init_Exception().

Definition at line 392 of file error.c.

Referenced by addrinfo_initialize(), addrinfo_mload(), asn1integer_to_num(), asn1time_to_time(), BigDecimal_load(), BigDecimal_mode(), BigDecimal_round(), bit_coerce(), caller_setup_args(), check_econv(), check_strscan(), class2path(), coerce_rescue(), convert_type(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cParser_initialize(), default_proc_arity_check(), divmodv(), do_coerce(), econv_init(), enumerator_feed(), enumerator_init_copy(), ev_advise(), ev_on_event(), eval_string_with_cref(), extract_user_token(), f_round_common(), fev_off_event(), fole_respond_to(), fole_s_const_load(), fole_s_show_help(), folemethod_initialize(), foleparam_initialize(), folevariant_initialize(), generator_initialize(), get_addrinfo(), get_locked_safe_array(), get_stat(), GetBNPtr(), GetVpValue(), hash2named_arg(), init_copy(), Init_Exception(), iseq_build_body(), iseq_check(), iseq_load(), long_toobig(), make_compile_option(), make_exception(), marshal_dump(), marshal_load(), match_check(), match_init_copy(), method_missing(), mSyslog_log(), must_encoding(), must_not_be_anonymous(), must_respond_to(), nucomp_coerce(), nucomp_real_check(), nucomp_s_convert(), num_exact(), num_init_copy(), num_members(), num_sadded(), nurat_coerce(), nurat_int_check(), nurat_s_convert(), ole_invoke(), ole_invoke2(), ossl_bn_coerce(), ossl_dh_new(), ossl_dsa_new(), ossl_rsa_new(), r_object0(), rand_init(), range_each(), range_loader(), range_max(), range_step(), rb_alias(), rb_big_coerce(), rb_check_backtrace(), rb_check_convert_type(), rb_check_inheritable(), rb_check_safe_str(), rb_check_type(), rb_check_typeddata(), rb_class_inherited_p(), rb_class_init_copy(), rb_class_initialize(), rb_class_superclass(), rb_const_set(), rb_convert_to_integer(), rb_convert_type(), rb_define_class(), rb_define_class_id_under(), rb_define_module(), rb_define_module_id_under(), rb_dlcfunc2ptr(), rb_dlptr2cptr(), rb_f_autoload(), rb_Float(), rb_hash_set_default_proc(), rb_marshal_define_compat(), rb_method_call(), rb_mod_define_method(), rb_mod_ge(), rb_mod_modfunc(), rb_num2dbl(), rb_num2long(), rb_num2ulong(), rb_obj_alloc(), rb_obj_clone(), rb_obj_dup(), rb_obj_encoding(), rb_obj_init_copy(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_path_to_class(), rb_reg_check(), rb_reg_init_copy(), rb_reg_initialize(), rb_set_errinfo(), rb_stat_init_copy(), rb_str_index_m(), rb_str_match(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_setter(), rb_struct_aset_id(), rb_struct_init_copy(), rb_struct_members(), rb_struct_s_members(), rb_thread_s_kill(), rb_to_float(), rb_to_id(), rb_to_integer(), rb_undef(), recursive_pop(), reg_operand(), rsock_io_socket_addrinfo(), rsock_s_recvfrom(), set_trace_func(), singleton_class_of(), sock_s_getnameinfo(), sockopt_bool(), sockopt_int(), sockopt_linger(), syck_map_initialize(), syck_map_value_set(), syck_node_init_copy(), syck_parser_assign_io(), syck_resolver_transfer(), syserr_initialize(), thread_add_trace_func(), time_mload(), time_plus(), time_timespec(), umethod_bind(), uscore_get(), value_to_id(), vm_check_if_namespace(), vm_define_method(), vm_get_cvar_base(), vm_set_top_stack(), w_extended(), w_long(), w_object(), w_symbol(), and wdivmod().

Definition at line 411 of file error.c.

Referenced by Init_Exception(), and set_syserr().

const char ruby_description[]

Definition at line 57 of file version.c.

Referenced by report_bug().

st_table* syserr_tbl [static]

Definition at line 967 of file error.c.