Change record status: 
Project: 
Introduced in branch: 
8.7.x
Introduced in version: 
8.7.0
Description: 

errors.inc functions are deprecated. Use related methods of Drupal\Core\Utility\Error class instead:

Deprecated function New method
drupal_error_levels() Error::levels()
_drupal_error_handler($error_level, $message, $filename, $line, $context) Error::handler($error_level, $message, $filename, $line, $context)
_drupal_error_handler_real($error_level, $message, $filename, $line, $context) Error::handler($error_level, $message, $filename, $line, $context)
error_displayable($error) Error::isDisplayable($error)
_drupal_log_error($error, $fatal) Error::log($error, $fatal)
_drupal_get_error_level() Error::getLevel()
_drupal_error_header($message, $type, $function, $file, $line) Error::header($message, $type, $function, $file, $line)
Impacts: 
Module developers