Error value
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | code | = | 1 | Error code |
|
| character(len=128), | public | :: | message | = | "" | Error message |
Constructor interface - see build (TODO: figure out cross-ref syntax) for details
Constructor - see build (TODO: figure out cross-ref syntax) 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 Use [TODO: figure out xref] |
||
| character(len=*), | intent(in), | optional | :: | message | Error message |