report_generic_counting_error Subroutine

public subroutine report_generic_counting_error(name, str1, val, str2, flag, err)

A generic error reporting routine.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

The name of the routine in which the error was found.

character(len=*), intent(in) :: str1

The first string.

integer(kind=int32), intent(in) :: val

The integer value.

character(len=*), intent(in) :: str2

The second string.

integer(kind=int32), intent(in) :: flag

The error flag.

class(errors), intent(inout) :: err

An errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution.


Contents


Variables

Type Visibility Attributes Name Initial
character(len=512), public :: errmsg