pub fn error(_code: i32, _err: &str, _func: &str, _file: &str, _line: i32) -> Result<()> {
	string_arg!(_err);
	string_arg!(_func);
	string_arg!(_file);
	unsafe { sys::cv_error_int_const_StringX_const_charX_const_charX_int(_code, _err.as_ptr(), _func.as_ptr(), _file.as_ptr(), _line) }.into_result()
}
/// ! Signals an error and raises the exception.
/// 
/// By default the function prints information about the error to stderr,
/// then it either stops if setBreakOnError() had been called before or raises the exception.
/// It is possible to alternate error processing by using redirectError().
/// ## Parameters
/// * _code: - error code (Error::Code)
/// * _err: - error description
/// * _func: - function name. Available only when the compiler supports getting it
/// * _file: - source file name where the error has occurred
/// * _line: - line number in the source file where the error has occurred
/// ## See also
/// CV_Error, CV_Error_, CV_Assert, CV_DbgAssert
Signals an error and raises the exception.
By default the function prints information about the error to stderr,
then it either stops if setBreakOnError() had been called before or raises the exception.
It is possible to alternate error processing by using redirectError().
Signals an error and raises the exception . By default the function prints information about the error to stderr then it either stops if setBreakOnError () had been called before or raises the exception . It is possible to alternate error processing by using redirectError () .
pub fn error(_code: i32, _err: &str, _func: &str, _file: &str, _line: i32) -> Result<()> {
	string_arg!(_err);
	string_arg!(_func);
	string_arg!(_file);
	unsafe { sys::cv_error_int_const_StringX_const_charX_const_charX_int(_code, _err.as_ptr(), _func.as_ptr(), _file.as_ptr(), _line) }.into_result()
}
pub fn error ( _code : i32 , _err : & str , _func : & str , _file : & str , _line : i32 ) -> Result < ( ) > { string_arg ! ( _err ) ; string_arg ! ( _func ) ; string_arg ! ( _file ) ; unsafe { sys :: cv_error_int_const_StringX_const_charX_const_charX_int ( _code , _err . as_ptr ( ) , _func . as_ptr ( ) , _file . as_ptr ( ) , _line ) } . into_result ( ) }
Signals an error and raises the exception.
Signals an error and raises the exception .
_code
i32
_err
&str
_func
&str
_file
&str
_line
i32
see also
None