Error result type containing status and message
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | status | = | SUCCESS | ||
character(len=MAX_ERROR_MESSAGE), | public | :: | message | = | "" |
Set error status and message
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(fortplot_error_t), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | status | |||
character(len=*), | intent(in) | :: | message |
Clear error status
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(fortplot_error_t), | intent(inout) | :: | this |
Check if error object has an error
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(fortplot_error_t), | intent(in) | :: | this |