ferror Module



Contents


Interfaces

interface

  • public subroutine error_callback(err, obj)

    Defines the signature of a routine that can be used to clean up after an error condition is encountered.

    Arguments

    Type IntentOptional Attributes Name
    class(errors), intent(in) :: err

    The errors-based object managing the error handling.

    class(*), intent(inout) :: obj

    An unlimited polymorphic object that can be passed to provide information to the clean-up routine.


Derived Types

type, public ::  errors

@brief Defines a type for managing errors and warnings.

Type-Bound Procedures

procedure , public :: get_clean_up_routine => er_get_err_fcn_ptr Subroutine
procedure , public :: get_error_fcn_name => er_get_err_fcn Function
procedure , public :: get_error_flag => er_get_error_flag Function
procedure , public :: get_error_message => er_get_err_msg Function
procedure , public :: get_exit_on_error => er_get_exit_on_error Function
procedure , public :: get_log_filename => er_get_log_filename Function
procedure , public :: get_suppress_printing => er_get_suppress_printing Function
procedure , public :: get_warning_fcn_name => er_get_warning_fcn Function
procedure , public :: get_warning_flag => er_get_warning_flag Function
procedure , public :: get_warning_message => er_get_warning_msg Function
procedure , public :: has_error_occurred => er_has_error_occurred Function
procedure , public :: has_warning_occurred => er_has_warning_occurred Function
procedure , public :: log_error => er_log_error Subroutine
procedure , public :: report_error => er_report_error Subroutine
procedure , public :: report_warning => er_report_warning Subroutine
procedure , public :: reset_error_status => er_reset_error_status Subroutine
procedure , public :: reset_warning_status => er_reset_warning_status Subroutine
procedure , public :: set_clean_up_routine => er_set_err_fcn_ptr Subroutine
procedure , public :: set_exit_on_error => er_set_exit_on_error Subroutine
procedure , public :: set_log_filename => er_set_log_filename Subroutine
procedure , public :: set_suppress_printing => er_set_suppress_printing Subroutine