MultiCam Boards Documentation > MultiCam Documentation > MultiCam User Guide > MultiCam Basics > Exceptions > API Errors > Error Reporting Mechanisms

Error Reporting Mechanisms

Four behaviors are supported when an error occurs during the execution of a MultiCam API function.

The wished behavior is selected with the enumerated configuration parameter ErrorHandling which can assume one of the four following values:

Selection value

Behavior designation

Effect

NONE

Return

The MultiCam function returns the error code.

MSG

Message

A dialog box is displayed.

EXCEPTION

Exception

A Windows structured exception is issued.

MSGEXCEPTION

Message and exception

A dialog box is displayed allowing for a Windows structured exception to be issued.