m_error_v_passing Module

Error passing

A very basic demo to get the idea.


Uses

  • module~~m_error_v_passing~~UsesGraph module~m_error_v_passing m_error_v_passing module~m_error_v m_error_v module~m_error_v_passing->module~m_error_v

Used by

  • module~~m_error_v_passing~~UsedByGraph module~m_error_v_passing m_error_v_passing module~m_error_v_passing_w m_error_v_passing_w module~m_error_v_passing_w->module~m_error_v_passing

Contents


Functions

public function pass_error(inv) result(is_err)

Pass an error

Read more…

Arguments

TypeIntentOptionalAttributesName
type(ErrorV), intent(in) :: inv

Input error value

Return Value logical

Whether inv is an error or not

public function pass_errors(invs, n) result(is_errs)

Pass a number of errors

Read more…

Arguments

TypeIntentOptionalAttributesName
type(ErrorV), intent(in), dimension(n):: invs

Input error values

integer, intent(in) :: n

Number of values being passed

Return Value logical,dimension(n)

Whether each value in invs is an error or not