If not already described elsewhere:
See also: wiki:API/IncludePiwikInYourProject
Currently Error level report is hardcoded in the code and duplicated in different files. Instead, we should read the PHP level error reporting from the config file, eg.
[Debug] ; when set to 0, no error will be output in the Piwik interface. This is useful for users that do not want Piwik to show any error. ; By default, we choose to display all PHP Warnings, Notices and error messages because it helps us find and diagnose bugs display_errors = 1
good stuff thanks.
are there interesting use cases for these? eg. inclusion in zend framework?