error_get_code Function

private pure function error_get_code(this) result(code)

Get the error code

Type Bound

error_t

Arguments

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

Return Value integer


Source Code

   pure function error_get_code(this) result(code)
      !! Get the error code
      class(error_t), intent(in) :: this
      integer :: code
      code = this%code
   end function error_get_code