CheckAllocError Function

public function CheckAllocError(this, error_description, alloc_error, immediate_cleanup_in) result(error_occurred)

Routine to call if an alloc error has occurred.

Arguments

Type IntentOptional AttributesName
type(Error_t), intent(inout) :: this

This the error variable to be set.

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

Some string describing the details of the error.

integer, intent(in) :: alloc_error

The error variable produced by alloc.

logical, intent(in), optional :: immediate_cleanup_in

If true, the cleanup error handler is called.

Return Value logical

True if an error has occurred, false otherwise.


Contents

None