add Doxygen documentation for configuration macros
add Doxygen documentation for error handling customization
Merge pull request #106 from pah/doc/config-error

Add Doxygen documentation for configuration macros and error handling