error_type

Gets the type corresponding to the error message from the last function called.

Synopsis

#include <imsl.h>

Imsl_error imsl_error_type ()

Return Value

An Imsl_error enum value is returned.

Description

The Imsl_error enum type has seven values: IMSL_NOTE, IMSL_ALERT, IMSL_WARNING, IMSL_FATAL, IMSL_TERMINAL, IMSL_WARNING_IMMEDIATE and IMSL_FATAL_IMMEDIATE. See Kinds of Errors and Default Actions for more details.

Example

See error_message for an example.