A simple type for storing error messages. Used by the [[function_parser] module.
The error message is stored internally as an allocatable character string. So it can be as large as it needs to be.
A list of errors.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(error), | public, | dimension(:), allocatable | :: | head | the error list |
final :: list_finalizer |
procedure, public :: add => add_error_to_list | |
procedure, public :: print => print_errors | |
procedure, public :: has_errors => list_has_errors | |
procedure, public :: destroy => destroy_list |