Get the error code
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(error_t), | intent(in) | :: | self |
pure function error_get_code(self) result(code) !! Get the error code class(error_t), intent(in) :: self integer(default_int) :: code code = self%code end function error_get_code