error_type Derived Type

type, public :: error_type

Error message


Components

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

Payload of the error

integer, public :: stat

Error code


Source Code

   type :: error_type

      !> Error code
      integer :: stat

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

   end type error_type