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 4c5ba6e commit d4d830aCopy full SHA for d4d830a
GraphQl/ErrorHandler.php
@@ -2,18 +2,10 @@
2
namespace Fsw\ErrorSieve\GraphQl;
3
4
use Fsw\ErrorSieve\Model\ExceptionSieve;
5
-use Magento\Framework\GraphQl\Query\ErrorHandlerInterface;
+//use Magento\Framework\GraphQl\Query\ErrorHandlerInterface;
6
7
-class ErrorHandler implements ErrorHandlerInterface
+class ErrorHandler //implements ErrorHandlerInterface
8
{
9
- /**
10
- * Handle errors
11
- *
12
- * @param \GraphQL\Error\Error $errors
13
- * @param callable $formatter
14
15
- * @return array
16
- */
17
public function handle(array $errors, callable $formatter): array
18
19
foreach ($errors as $e) {
0 commit comments