report_memory_error Subroutine

public subroutine report_memory_error(err, fname, code)

Reports a memory allocation related error.

Arguments

Type IntentOptional Attributes Name
class(errors), intent(inout) :: err

The error handling object.

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

The name of the routine in which the error occurred.

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

The error code returned by the allocation routine.


Contents


Variables

Type Visibility Attributes Name Initial
character(len=MESSAGE_SIZE), public :: msg