pub struct Exception { /* fields omitted */ }
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.
error
!
Full constructor. Normally the constructor is not called explicitly.
Instead, the macros CV_Error(), CV_Error_() and CV_Assert() are used.
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
the formatted error message
error code see also: CVStatus
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
the formatted error message
error code see also: CVStatus
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
!
\return the error description and the context as a text string. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.