Function magnus::exception::security_error

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

Return Ruby’s SecurityError class.

§Panics

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