stdlib_error Module

Provides support for catching and handling errors (Specification)


Uses

  • module~~stdlib_error~~UsesGraph module~stdlib_error stdlib_error iso_fortran_env iso_fortran_env module~stdlib_error->iso_fortran_env module~stdlib_optval stdlib_optval module~stdlib_error->module~stdlib_optval module~stdlib_kinds stdlib_kinds module~stdlib_optval->module~stdlib_kinds module~stdlib_kinds->iso_fortran_env

Used by

  • module~~stdlib_error~~UsedByGraph module~stdlib_error stdlib_error module~stdlib_stats_mean stdlib_stats_mean module~stdlib_stats_mean->module~stdlib_error module~stdlib_stats_moment stdlib_stats_moment module~stdlib_stats_moment->module~stdlib_error module~estop estop module~estop->module~stdlib_error module~stdlib_stats_moment_mask stdlib_stats_moment_mask module~stdlib_stats_moment_mask->module~stdlib_error module~stdlib_io stdlib_io module~stdlib_io->module~stdlib_error module~stdlib_stats_moment_all stdlib_stats_moment_all module~stdlib_stats_moment_all->module~stdlib_error module~stdlib_stats_cov stdlib_stats_cov module~stdlib_stats_cov->module~stdlib_error module~stdlib_stats_distribution_prng stdlib_stats_distribution_PRNG module~stdlib_stats_distribution_prng->module~stdlib_error module~stdlib_quadrature_simps stdlib_quadrature_simps module~stdlib_quadrature_simps->module~stdlib_error module~stdlib_stats_var stdlib_stats_var module~stdlib_stats_var->module~stdlib_error module~estop~2 estop module~estop~2->module~stdlib_error module~stdlib_stats_corr stdlib_stats_corr module~stdlib_stats_corr->module~stdlib_error module~stdlib_stats_moment_scalar stdlib_stats_moment_scalar module~stdlib_stats_moment_scalar->module~stdlib_error module~stdlib_quadrature_trapz stdlib_quadrature_trapz module~stdlib_quadrature_trapz->module~stdlib_error

Contents


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 AttributesName
    character(len=*), intent(in) :: msg
    integer, intent(in), optional :: code

Subroutines

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

Version
experimental

Checks the value of a logical condition (Specification)

Read more…

Arguments

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