Function magnus::exception::syntax_error

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

Return Ruby’s SyntaxError class.

§Panics

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