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.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 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
)

Parameters

code
ERROR_CODES
The error status.

See Also