MAPL_ErrorHandlingMod Module


Uses

  • module~~mapl_errorhandlingmod~~UsesGraph module~mapl_errorhandlingmod MAPL_ErrorHandlingMod module~mapl_throwmod MAPL_ThrowMod module~mapl_errorhandlingmod->module~mapl_throwmod mpi mpi module~mapl_errorhandlingmod->mpi

Used by


Enumerations

enum, bind(c)

Enumerators

enumerator:: MAPL_SUCCESS = 0
enumerator:: MAPL_UNKNOWN_ERROR = 1
enumerator:: MAPL_NO_SUCH_PROPERTY = 2
enumerator:: MAPL_NO_SUCH_VARIABLE = 3
enumerator:: MAPL_TYPE_MISMATCH = 4
enumerator:: MAPL_UNSUPPORTED_TYPE = 5
enumerator:: MAPL_VALUE_NOT_SUPPORTED = 6
enumerator:: MAPL_NO_DEFAULT_VALUE = 7
enumerator:: MAPL_DUPLICATE_KEY = 8
enumerator:: MAPL_STRING_TOO_SHORT = 9

Interfaces

public interface MAPL_Assert

  • private function MAPL_Assert_condition(condition, message, return_code, filename, line, rc) result(fail)

    Arguments

    Type IntentOptional Attributes Name
    logical, intent(in) :: condition
    character(len=*), intent(in) :: message
    integer, intent(in) :: return_code
    character(len=*), intent(in) :: filename
    integer, intent(in) :: line
    integer, intent(out), optional :: rc

    Return Value logical

  • private function MAPL_Assert_return_code(condition, return_code, filename, line, rc) result(fail)

    Arguments

    Type IntentOptional Attributes Name
    logical, intent(in) :: condition
    integer, intent(in) :: return_code
    character(len=*), intent(in) :: filename
    integer, intent(in) :: line
    integer, intent(out), optional :: rc

    Return Value logical


Functions

public function MAPL_ASRT(A, iam, line, RC)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: A
character(len=*), intent(in) :: iam
integer, intent(in) :: line
integer, intent(out), optional :: RC

Return Value logical

public function MAPL_RTRN(A, iam, line, RC)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: A
character(len=*), intent(in) :: iam
integer, intent(in) :: line
integer, intent(out), optional :: RC

Return Value logical

public function MAPL_VRFY(A, iam, line, RC)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: A
character(len=*), intent(in) :: iam
integer, intent(in) :: line
integer, intent(out), optional :: RC

Return Value logical

public function MAPL_Verify(status, filename, line, rc) result(fail)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: status
character(len=*), intent(in) :: filename
integer, intent(in) :: line
integer, intent(out), optional :: rc

Return Value logical


Subroutines

public subroutine MAPL_Return(status, filename, line, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: status
character(len=*), intent(in) :: filename
integer, intent(in) :: line
integer, intent(out), optional :: rc

public subroutine MAPL_abort()

Arguments

None