Error passing
A very basic demo to get the idea.
Pass an error
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ErrorV), | intent(in) | :: | inv | Input error value |
Whether inv is an error or not
Pass a number of errors
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ErrorV), | intent(in), | dimension(n) | :: | invs | Input error values |
|
| integer, | intent(in) | :: | n | Number of values being passed |
Whether each value in invs is an error or not