We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c08cc2b commit 4945317Copy full SHA for 4945317
src/Error.php
@@ -0,0 +1,18 @@
1
+<?php
2
+namespace GraphQL;
3
+
4
+trigger_error(
5
+ 'GraphQL\Error was moved to GraphQL\Error\Error and will be deleted on next release',
6
+ E_USER_DEPRECATED
7
+);
8
9
10
+/**
11
+ * Class Error
12
+ *
13
+ * @deprecated as of 8.0 in favor of GraphQL\Error\Error
14
+ * @package GraphQL
15
+ */
16
+class Error extends \GraphQL\Error\Error
17
+{
18
+}
src/deprecated.php
@@ -4,7 +4,6 @@
}
// Renamed as of 8.0:
-class_alias('GraphQL\Error\Error', 'GraphQL\Error');
class_alias('GraphQL\Error\FormattedError', 'GraphQL\FormattedError');
class_alias('GraphQL\Error\SyntaxError', 'GraphQL\SyntaxError');
0 commit comments