Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Macros | Functions | Variables
error.h File Reference

Internal header for Exception. More...

#include "ruby/internal/config.h"
#include <stdarg.h>
#include "internal/string.h"
#include "ruby/internal/stdbool.h"
#include "ruby/encoding.h"
#include "ruby/intern.h"
#include "ruby/ruby.h"

Go to the source code of this file.

Macros

#define rb_raise_static(e, m)    rb_raise_cstr_i((e), rb_str_new_static((m), rb_strlen_lit(m)))
 
#define rb_sys_fail_path(path)   rb_sys_fail_str(path)
 
#define rb_syserr_fail_path(err, path)   rb_syserr_fail_str((err), (path))
 
#define rb_syserr_new_path(err, path)   rb_syserr_new_str((err), (path))
 
#define rb_typeddata_is_instance_of   rb_typeddata_is_instance_of_inline
 

Functions

void rb_report_bug_valist (VALUE file, int line, const char *fmt, va_list args)
 
void rb_async_bug_errno (const char *, int)
 
const char * rb_builtin_type_name (int t)
 
const char * rb_builtin_class_name (VALUE x)
 
void rb_warn_deprecated (const char *fmt, const char *suggest,...)
 
void rb_warn_deprecated_to_remove (const char *fmt, const char *removal,...)
 
VALUE rb_syntax_error_append (VALUE, VALUE, int, int, rb_encoding *, const char *, va_list)
 
void rb_enc_warn (rb_encoding *enc, const char *fmt,...)
 
void rb_sys_enc_warning (rb_encoding *enc, const char *fmt,...)
 
void rb_syserr_enc_warning (int err, rb_encoding *enc, const char *fmt,...)
 
rb_warning_category_t rb_warning_category_from_name (VALUE category)
 
bool rb_warning_category_enabled_p (rb_warning_category_t category)
 
VALUE rb_name_err_new (VALUE mesg, VALUE recv, VALUE method)
 
VALUE rb_nomethod_err_new (VALUE mesg, VALUE recv, VALUE method, VALUE args, int priv)
 
VALUE rb_key_err_new (VALUE mesg, VALUE recv, VALUE name)
 
VALUE rb_warning_string (const char *fmt,...)
 
void rb_vraise (VALUE, const char *, va_list)
 
int rb_bug_reporter_add (void(*func)(FILE *, void *), void *data)
 

Variables

long rb_backtrace_length_limit
 
VALUE rb_eEAGAIN
 
VALUE rb_eEWOULDBLOCK
 
VALUE rb_eEINPROGRESS
 

Detailed Description

Internal header for Exception.

Author
Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Definition in file error.h.

Macro Definition Documentation

◆ rb_raise_static

#define rb_raise_static (   e,
 
)     rb_raise_cstr_i((e), rb_str_new_static((m), rb_strlen_lit(m)))

Definition at line 30 of file error.h.

◆ rb_sys_fail_path

#define rb_sys_fail_path (   path)    rb_sys_fail_str(path)

Definition at line 37 of file error.h.

◆ rb_syserr_fail_path

#define rb_syserr_fail_path (   err,
  path 
)    rb_syserr_fail_str((err), (path))

Definition at line 38 of file error.h.

◆ rb_syserr_new_path

#define rb_syserr_new_path (   err,
  path 
)    rb_syserr_new_str((err), (path))

Definition at line 39 of file error.h.

◆ rb_typeddata_is_instance_of

#define rb_typeddata_is_instance_of   rb_typeddata_is_instance_of_inline

Definition at line 71 of file error.h.