Struct opencv::core::Exception

source ·
pub struct Exception { /* private fields */ }
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

Implementations

! Default constructor

! Full constructor. Normally the constructor is not called explicitly. Instead, the macros CV_Error(), CV_Error_() and CV_Assert() are used.

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. 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
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
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
! \return the error description and the context as a text string. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.