6. Errors - Error handling
Within an application three categories of errors might be set in order to indicate errors on different layers.
- database errors - indicate errors on the access layer
 - context errors - indicate errors on the business layer
 - application errors - indicate errors on the application layer
 
In order to check and reset error values, several error handling functions are provided in this function group.
Functions
- applicationError - Get last application error
 - contextError - Get last context error
 - databaseError - Get last database error
 - resetApplicationError - Reset application error
 - resetContextError - Reset context error
 - resetDatabaseError - Reset database error
 - setApplicationError - Set documented application error
 

