stdlib_error Module

Provides support for catching and handling errors (Specification)


Used by


Interfaces

interface

  • public module subroutine error_stop(msg, code)

    Provides a call to error stop and allows the user to specify a code and message (Specification)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: msg
    integer, intent(in), optional :: code

Subroutines

public subroutine check(condition, msg, code, warn)

License
Creative Commons License
Version
experimental

Checks the value of a logical condition (Specification)

Read more…

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: condition
character(len=*), intent(in), optional :: msg
integer, intent(in), optional :: code
logical, intent(in), optional :: warn