Module to handle errors
Codify error state with integer code and human readable string
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | parameter | :: | code_remote | = | -99 | |
| integer, | public, | parameter | :: | code_deactivated | = | -888 |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | code | ||||
| character(len=128), | public | :: | message |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(w90_error_type), | intent(in) | :: | err |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(w90_error_type), | intent(out), | allocatable | :: | err | ||
| character(len=*), | intent(in) | :: | mesg | |||
| integer, | intent(in) | :: | code |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(w90_error_type), | intent(out), | allocatable | :: | err |