From 39fcbe4d767cb85b0bf3d8d0bb5fbd4e39ae4cdd Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 12 Oct 2022 13:59:35 +1300 Subject: [PATCH] Restructure exception --- src/Appwrite/GraphQL/{GQLException.php => Exception.php} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/Appwrite/GraphQL/{GQLException.php => Exception.php} (66%) diff --git a/src/Appwrite/GraphQL/GQLException.php b/src/Appwrite/GraphQL/Exception.php similarity index 66% rename from src/Appwrite/GraphQL/GQLException.php rename to src/Appwrite/GraphQL/Exception.php index 9c52fe5615..71e8bcd8e6 100644 --- a/src/Appwrite/GraphQL/GQLException.php +++ b/src/Appwrite/GraphQL/Exception.php @@ -2,10 +2,10 @@ namespace Appwrite\GraphQL; -use Appwrite\Extend\Exception; +use Appwrite\Extend\Exception as AppwriteException; use GraphQL\Error\ClientAware; -class GQLException extends Exception implements ClientAware +class Exception extends AppwriteException implements ClientAware { public function isClientSafe(): bool {