toml_error Derived Type

type, public :: toml_error

Error message produced by TOML-Fortran


Components

Type Visibility Attributes Name Initial
character(kind=tfc, len=:), public, allocatable :: message

Payload of the error

integer, public :: stat = toml_stat%fatal

Error code


Source Code

   type :: toml_error

      !> Error code
      integer :: stat = toml_stat%fatal

      !> Payload of the error
      character(kind=tfc, len=:), allocatable :: message

   end type toml_error