pub fn arg_error() -> ExceptionClass
Expand description
Return Ruby’s ArgumentError
class.
§Panics
Panics if called from a non-Ruby thread. See Ruby::exception_arg_error
for the non-panicking version.
pub fn arg_error() -> ExceptionClass
Return Ruby’s ArgumentError
class.
Panics if called from a non-Ruby thread. See Ruby::exception_arg_error
for the non-panicking version.