@@ -66,7 +66,7 @@ namespace cv
66
66
namespace Error {
67
67
// ! error codes
68
68
enum Code {
69
- StsOk= 0 , // !< everithing is ok
69
+ StsOk= 0 , // !< everything is ok
70
70
StsBackTrace= -1 , // !< pseudo error for back trace
71
71
StsError= -2 , // !< unknown /unspecified error
72
72
StsInternal= -3 , // !< internal error (bad state)
@@ -97,7 +97,7 @@ enum Code {
97
97
StsVecLengthErr= -28 , // !< incorrect vector length
98
98
StsFilterStructContentErr= -29 , // !< incorr. filter structure content
99
99
StsKernelStructContentErr= -30 , // !< incorr. transform kernel content
100
- StsFilterOffsetErr= -31 , // !< incorrect filter ofset value
100
+ StsFilterOffsetErr= -31 , // !< incorrect filter offset value
101
101
StsBadSize= -201 , // !< the input/output structure size is incorrect
102
102
StsDivByZero= -202 , // !< division by zero
103
103
StsInplaceNotSupported= -203 , // !< in-place operation is not supported
@@ -338,8 +338,8 @@ It is possible to alternate error processing by using redirectError().
338
338
@param _code - error code (Error::Code)
339
339
@param _err - error description
340
340
@param _func - function name. Available only when the compiler supports getting it
341
- @param _file - source file name where the error has occured
342
- @param _line - line number in the source file where the error has occured
341
+ @param _file - source file name where the error has occurred
342
+ @param _line - line number in the source file where the error has occurred
343
343
@see CV_Error, CV_Error_, CV_ErrorNoReturn, CV_ErrorNoReturn_, CV_Assert, CV_DbgAssert
344
344
*/
345
345
CV_EXPORTS void error (int _code, const String& _err, const char * _func, const char * _file, int _line);
0 commit comments