pub trait ToPyException {
// Required method
fn to_pyexception(&self, vm: &VirtualMachine) -> PyBaseExceptionRef;
}Required Methods§
fn to_pyexception(&self, vm: &VirtualMachine) -> PyBaseExceptionRef
Implementations on Foreign Types§
Source§impl ToPyException for (CompileError, Option<&str>)
Available on crate features parser or codegen only.
impl ToPyException for (CompileError, Option<&str>)
Available on crate features
parser or codegen only.fn to_pyexception(&self, vm: &VirtualMachine) -> PyBaseExceptionRef
Source§impl ToPyException for (CompileError, Option<&str>, bool)
Available on crate features parser or codegen only.
impl ToPyException for (CompileError, Option<&str>, bool)
Available on crate features
parser or codegen only.