create_errors Function

public function create_errors(invs, n) result(errs)

Create a number of errors

If an odd number is supplied, the error code is no error NO_ERROR_CODE. If an even number is supplied, the error code is 1. If a negative number is supplied, the error code is 2.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in), dimension(n):: invs

Values to use to create the error

integer, intent(in) :: n

Number of values to create

Return Value type(ErrorV),dimension(n)

Created errors


Calls

proc~~create_errors~~CallsGraph proc~create_errors create_errors proc~create_error create_error proc~create_errors->proc~create_error

Called by

proc~~create_errors~~CalledByGraph proc~create_errors create_errors proc~create_errors~2 create_errors proc~create_errors~2->proc~create_errors

Contents

None