INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_error_level()

The mi_error_level() function returns the exception level associated with a server exception.

Syntax

Usage

The mi_error_level() function is useful in a callback to get the exception level associated with an error or warning.

For general information about server exceptions, see "Server Exceptions".

For more information about return values, see "Client Errors".

Return Values

On success, returns the exception level; on failure, returns MI_ERROR. If the exception was an MI_Client_Library_Error, the possible return values are MI_LIB_BADARG, MI_LIB_USAGE, MI_LIB_INTERR, MI_LIB_NOIMP, MI_LIB_DROPCONN, and MI_LIB_BADSERV. Otherwise, the possible exception levels are MI_MESSAGE and MI_EXCEPTION.

Related Topics

For additional information, see the descriptions of the following functions: mi_errmsg(), mi_error_desc_copy(), mi_error_desc_is_copy(), mi_error_desc_destroy(), mi_error_sql_state(), and mi_error_sqlcode().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.