Trait opencv::core::ExceptionTrait[][src]

pub trait ExceptionTrait: ExceptionTraitConst {
    fn as_raw_mut_Exception(&mut self) -> *mut c_void;

    fn set_msg(&mut self, val: &str) { ... }
fn set_code(&mut self, val: i32) { ... }
fn set_err(&mut self, val: &str) { ... }
fn set_func(&mut self, val: &str) { ... }
fn set_file(&mut self, val: &str) { ... }
fn set_line(&mut self, val: i32) { ... }
fn format_message(&mut self) -> Result<()> { ... } }

Required methods

Provided methods

the formatted error message

error code see also: CVStatus

error description

function name. Available only when the compiler supports getting it

source file name where the error has occurred

line number in the source file where the error has occurred

Implementors