diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 59d80d45b82cf2eb0461f6869e371ce6a4e9b24e..906a7c145bb95185948c0c6a25f883f20664c019 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -36,6 +36,26 @@
  */
 const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = '32M';
 
+/**
+ * Error reporting level: display no errors.
+ */
+const ERROR_REPORTING_HIDE = 'hide';
+
+/**
+ * Error reporting level: display errors and warnings.
+ */
+const ERROR_REPORTING_DISPLAY_SOME = 'some';
+
+/**
+ * Error reporting level: display all messages.
+ */
+const ERROR_REPORTING_DISPLAY_ALL = 'all';
+
+/**
+ * Error reporting level: display all messages, plus backtrace information.
+ */
+const ERROR_REPORTING_DISPLAY_VERBOSE = 'verbose';
+
 /**
  * @defgroup logging_severity_levels Logging severity levels
  * @{
diff --git a/core/includes/errors.inc b/core/includes/errors.inc
index cba08e2592f2b291622bb44b75a1db182641b812..6e4a8305791cb209c57173fb3abe2b32eb1e4271 100644
--- a/core/includes/errors.inc
+++ b/core/includes/errors.inc
@@ -7,26 +7,6 @@
 
 use Symfony\Component\HttpFoundation\Response;
 
-/**
- * Error reporting level: display no errors.
- */
-const ERROR_REPORTING_HIDE = 'hide';
-
-/**
- * Error reporting level: display errors and warnings.
- */
-const ERROR_REPORTING_DISPLAY_SOME = 'some';
-
-/**
- * Error reporting level: display all messages.
- */
-const ERROR_REPORTING_DISPLAY_ALL = 'all';
-
-/**
- * Error reporting level: display all messages, plus backtrace information.
- */
-const ERROR_REPORTING_DISPLAY_VERBOSE = 'verbose';
-
 /**
  * Maps PHP error constants to watchdog severity levels.
  *