ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
comin_errhandler.F90 File Reference

Utility functions for error handling. More...

Go to the source code of this file.

Modules

module  comin_errhandler
 

Functions/Subroutines

subroutine comin_plugin_finish_external (routine, text)
 Wrapper function for callback to ICON's "finish" routine.
 
subroutine, public comin_errhandler::comin_plugin_finish (routine, text)
 Wrapper function for callback to ICON's "finish" routine.
 
subroutine, public comin_errhandler::comin_message (message, lvl)
 Prints a message on rank 0 if the global verbosity level larger than lvl.
 
subroutine, public comin_errhandler::comin_error_get_message (error_code, category, message)
 query the message and category for a given error code
 
subroutine, public comin_errhandler::comin_error_check ()
 check the error code: does nothing if error_code == COMIN_SUCCESS prints the corresponding message calls comin_plugin_finish if the error_code is an error or fatal error
 
subroutine, public comin_errhandler::comin_error_set (errcode)
 
integer(c_int) function, public comin_errhandler::comin_error_get ()
 returns the current error code
 
subroutine, public comin_errhandler::comin_error_reset ()
 resets the internal error code to COMIN_SUCCESS
 
subroutine, public comin_errhandler::comin_error_set_errors_return (errors_return)
 Change the error handling mode. Set it to .TRUE. to handle errors manually. If it set to .FALSE. (default) comin calls finish if an error occurs.
 

Detailed Description

Utility functions for error handling.

Definition in file comin_errhandler.F90.