errcode_t Derived Type

type, public :: errcode_t


Components

Type Visibility Attributes Name Initial
integer, public :: topic
integer, public :: code

Constructor

public interface errcode_t

  • private function errcode_t_init(val) result(res)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: val

    Return Value type(errcode_t)


Type-Bound Procedures

procedure, public :: getcode => errcode_t_getcode

  • private function errcode_t_getcode(this) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(errcode_t), intent(in) :: this

    Return Value integer

procedure, public :: explain => errcode_t_explain

  • private subroutine errcode_t_explain(this)

    Arguments

    Type IntentOptional Attributes Name
    class(errcode_t), intent(in) :: this