Function magnus::define_error

source ·
pub fn define_error(
    name: &str,
    superclass: ExceptionClass
) -> Result<ExceptionClass, Error>
Expand description

Define an exception class in the root scope.