A generic error reporting routine.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
The name of the routine in which the error was found. |
||
| character(len=*), | intent(in) | :: | str1 |
The first string. |
||
| integer(kind=int32), | intent(in) | :: | val |
The integer value. |
||
| character(len=*), | intent(in) | :: | str2 |
The second string. |
||
| integer(kind=int32), | intent(in) | :: | flag |
The error flag. |
||
| class(errors), | intent(inout) | :: | err |
An errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=512), | public | :: | errmsg |