Function magnus::exception::name_error

source ·
pub fn name_error() -> ExceptionClass
Expand description

Return Ruby’s NameError class.

§Panics

Panics if called from a non-Ruby thread. See Ruby::exception_name_error for the non-panicking version.