Trait opencv::core::ExceptionTraitConst
source · pub trait ExceptionTraitConst {
fn as_raw_Exception(&self) -> *const c_void;
fn msg(&self) -> String { ... }
fn code(&self) -> i32 { ... }
fn err(&self) -> String { ... }
fn func(&self) -> String { ... }
fn file(&self) -> String { ... }
fn line(&self) -> i32 { ... }
fn what(&self) -> Result<String> { ... }
}
Expand description
! Class passed to an error.
This class encapsulates all or almost all necessary information about the error happened in the program. The exception is usually constructed and thrown implicitly via CV_Error and CV_Error_ macros.
See also
error