Function rb_loaderror_with_path

Source
pub unsafe extern "C" fn rb_loaderror_with_path(
    path: VALUE,
    fmt: *const c_char,
    ...
) -> !
Expand description

Identical to rb_loaderror, except it additionally takes which file is unable to load. The path can be obtained later using LoadError#path of the raising exception.

ยง@param[in] path What failed. @param[in] fmt Format specifier string compatible with rb_sprintf. @exception rb_eLoadError Always raises this. @note It never returns.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3