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

Error Reporting Behaviors

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

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

ErrorHandling

Behavior designation

Effect

NONE

Return

The MultiCam function returns the error code.

MSGBOX

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.