Skip to main content

python_builtin_exception_is_subclass

Function python_builtin_exception_is_subclass 

Source
pub fn python_builtin_exception_is_subclass(
    name: &str,
    expected: &str,
) -> Option<bool>
Expand description

Whether one exact builtin exception class is a subtype of another builtin exception class. None means either name is outside the known hierarchy.