mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #8209 from csukuangfj:csukuangfj-patch-2
This commit is contained in:
commit
3fbaabc866
@ -66,7 +66,7 @@ namespace cv
|
|||||||
namespace Error {
|
namespace Error {
|
||||||
//! error codes
|
//! error codes
|
||||||
enum Code {
|
enum Code {
|
||||||
StsOk= 0, //!< everithing is ok
|
StsOk= 0, //!< everything is ok
|
||||||
StsBackTrace= -1, //!< pseudo error for back trace
|
StsBackTrace= -1, //!< pseudo error for back trace
|
||||||
StsError= -2, //!< unknown /unspecified error
|
StsError= -2, //!< unknown /unspecified error
|
||||||
StsInternal= -3, //!< internal error (bad state)
|
StsInternal= -3, //!< internal error (bad state)
|
||||||
@ -97,7 +97,7 @@ enum Code {
|
|||||||
StsVecLengthErr= -28, //!< incorrect vector length
|
StsVecLengthErr= -28, //!< incorrect vector length
|
||||||
StsFilterStructContentErr= -29, //!< incorr. filter structure content
|
StsFilterStructContentErr= -29, //!< incorr. filter structure content
|
||||||
StsKernelStructContentErr= -30, //!< incorr. transform kernel content
|
StsKernelStructContentErr= -30, //!< incorr. transform kernel content
|
||||||
StsFilterOffsetErr= -31, //!< incorrect filter ofset value
|
StsFilterOffsetErr= -31, //!< incorrect filter offset value
|
||||||
StsBadSize= -201, //!< the input/output structure size is incorrect
|
StsBadSize= -201, //!< the input/output structure size is incorrect
|
||||||
StsDivByZero= -202, //!< division by zero
|
StsDivByZero= -202, //!< division by zero
|
||||||
StsInplaceNotSupported= -203, //!< in-place operation is not supported
|
StsInplaceNotSupported= -203, //!< in-place operation is not supported
|
||||||
@ -338,8 +338,8 @@ It is possible to alternate error processing by using redirectError().
|
|||||||
@param _code - error code (Error::Code)
|
@param _code - error code (Error::Code)
|
||||||
@param _err - error description
|
@param _err - error description
|
||||||
@param _func - function name. Available only when the compiler supports getting it
|
@param _func - function name. Available only when the compiler supports getting it
|
||||||
@param _file - source file name where the error has occured
|
@param _file - source file name where the error has occurred
|
||||||
@param _line - line number in the source file where the error has occured
|
@param _line - line number in the source file where the error has occurred
|
||||||
@see CV_Error, CV_Error_, CV_ErrorNoReturn, CV_ErrorNoReturn_, CV_Assert, CV_DbgAssert
|
@see CV_Error, CV_Error_, CV_ErrorNoReturn, CV_ErrorNoReturn_, CV_Assert, CV_DbgAssert
|
||||||
*/
|
*/
|
||||||
CV_EXPORTS void error(int _code, const String& _err, const char* _func, const char* _file, int _line);
|
CV_EXPORTS void error(int _code, const String& _err, const char* _func, const char* _file, int _line);
|
||||||
|
Loading…
Reference in New Issue
Block a user