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.0.1.0 (2.0.1.0)

Syntax

C#
public static void cvSetErrStatus(
	ERROR_CODES code
)
Visual Basic (Declaration)
Public Shared Sub cvSetErrStatus ( _
	code As ERROR_CODES _
)
Visual C++
public:
static void cvSetErrStatus(
	ERROR_CODES code
)

Parameters

code
Type: Emgu.CV.CvEnum..::.ERROR_CODES
The error status.

See Also