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