diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index e26cb36..df8de73 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -44,6 +44,26 @@
 const CACHE_PERMANENT = 0;
 
 /**
+ * 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
  * @{
  * Logging severity levels as defined in RFC 3164.
diff --git a/core/includes/errors.inc b/core/includes/errors.inc
index cba08e2..6e4a830 100644
--- a/core/includes/errors.inc
+++ b/core/includes/errors.inc
@@ -8,26 +8,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.
  *
  * The error constants are documented at
