Skip to main content

ToPyException

Trait ToPyException 

Source
pub trait ToPyException {
    // Required method
    fn to_pyexception(&self, vm: &VirtualMachine) -> PyBaseExceptionRef;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl ToPyException for (CompileError, Option<&str>)

Available on crate features parser or codegen only.
Source§

impl ToPyException for (CompileError, Option<&str>, bool)

Available on crate features parser or codegen only.
Source§

impl ToPyException for FormatParseError

Source§

impl ToPyException for NulError

Source§

impl ToPyException for Error

Implementors§