dm_error_out Subroutine

public subroutine dm_error_out(error, message, verbose, extra, fatal)

Prints error description to stderr. If verbose is .true., the routine outputs even if no error occured (E_NONE).

If extra is .true., the routine outputs the default error message for the given error code additionally to the message.

If fatal is .true., the routine terminates with exit code 1 on error.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: error

DMPACK error code.

character(len=*), intent(in), optional :: message

Optional error message.

logical, intent(in), optional :: verbose

If .true., print message on E_NONE too.

logical, intent(in), optional :: extra

If .true., print additional error code message.

logical, intent(in), optional :: fatal

If .true., stop program on error.


Calls

proc~~dm_error_out~~CallsGraph proc~dm_error_out dm_error_out proc~dm_ascii_escape dm_ascii_escape proc~dm_error_out->proc~dm_ascii_escape proc~dm_error_message dm_error_message proc~dm_error_out->proc~dm_error_message proc~dm_stop dm_stop proc~dm_error_out->proc~dm_stop c_exit c_exit proc~dm_stop->c_exit

Called by

proc~~dm_error_out~~CalledByGraph proc~dm_error_out dm_error_out interface~dm_perror dm_perror interface~dm_perror->proc~dm_error_out proc~dm_arg_parse dm_arg_parse proc~dm_arg_parse->proc~dm_error_out proc~dm_arg_read dm_arg_read proc~dm_arg_read->proc~dm_error_out proc~dm_arg_read->proc~dm_arg_parse proc~dm_arg_has dm_arg_has proc~dm_arg_read->proc~dm_arg_has proc~dm_config_open dm_config_open proc~dm_config_open->proc~dm_error_out proc~dm_geocom_type_validated dm_geocom_type_validated proc~dm_geocom_type_validated->proc~dm_error_out proc~dm_arg_has->proc~dm_arg_parse