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
Intent Optional 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.
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
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
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
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.