MultiCam Boards Documentation > MultiCam Documentation > MultiCam User Guide > MultiCam Basics > Exceptions > API Errors > Message Behavior

Message Behavior

This behavior is assumed when the MultiCam configuration parameter ErrorHandling is set to MSGBOX.

When a MultiCam API function encounters an error, it displays an error dialog giving more information about the problem. The user closes the dialog by selecting one of three buttons:

Selecting OK simply pass the error as a negative number (MultiCam error code) to the application, allowing the program to handle the error.

Selecting ABORT immediately terminates the application. All MultiCam associated resources are cleaned up excepted the application resources.

Selecting IGNORE forces the function to return MC_OK, allowing the program to ignore the error.

The message behavior is available on Windows operating systems only.