Sets the error status to the specified value. Mostly, the function is used to reset the error status (set to it CV_StsOk) to recover after error. In other cases it is more natural to call cvError or CV_ERROR.
| C# | Visual Basic | Visual C++ |
public static void cvSetErrStatus( ERROR_CODES code )
Public Shared Sub cvSetErrStatus ( _ code As ERROR_CODES _ )
public: static void cvSetErrStatus( ERROR_CODES code )
- code (ERROR_CODES)
- The error status.