Respect the error_reporting ini setting so that the full details of the error code including stack-trace isn't displayed publicly on a live site