Documentation for module cp_error_handling

Module that contains the routines for error handling

source: cp_error_handling.F
Loading...

public Subroutines/Functions:

Abort program with error message
Registers handlers with base_hooks.F
Signal a warning

Module variables:

INTEGER
:: warning_counter = 0

SUBROUTINEcp_abort_handler(location, message)

Abort program with error message

Arguments:
CHARACTER(*),
INTENT(in)
:: location ...
CHARACTER(*),
INTENT(in)
:: message ...

SUBROUTINEcp_error_handling_setup()

Registers handlers with base_hooks.F

SUBROUTINEcp_warn_handler(location, message)

Signal a warning

Arguments:
CHARACTER(*),
INTENT(in)
:: location ...
CHARACTER(*),
INTENT(in)
:: message ...