Error value
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | code | = | 1 | Error code |
|
| character(len=128), | public | :: | message | = | "" | Error message |
Constructor function: see docs of [[m_error_v(module):build(procedure)]] for details.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | code | |||
| character(len=*), | intent(in), | optional | :: | message |
Finalise the instance (i.e. free/deallocate)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ErrorV), | intent(inout) | :: | self |
Build instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ErrorV), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | code | Error code |
||
| character(len=*), | intent(in), | optional | :: | message | Use NO_ERROR_CODE if there is no error. Error message |