f2k  Reference documentation for version 0.0
Data Types | Functions/Subroutines
f2k_error_handler Module Reference

This module contains a error handler. More...

Functions/Subroutines

subroutine, public raise_error (error_message)
 Subroutine that raises errors. More...
 

Detailed Description

This module contains a error handler.

Author
Marco Raveri
Todo:
Can we get some inspiration from https://github.com/koenpoppe/ErrorHandlingInFortran2003 ?

Function/Subroutine Documentation

subroutine, public f2k_error_handler::raise_error ( character ( len = * ), intent(in), optional  error_message)

Subroutine that raises errors.

Author
Marco Raveri
Date
02 January 2017
Todo:
Implement optional error unit to be passed by the user
Parameters
[in]error_messageinput error message

Definition at line 56 of file error_handler.f90.