update: collections <> tables errors.

This commit is contained in:
Darshan
2025-05-06 16:44:19 +05:30
parent d70d001f5a
commit 59e5ce0664
25 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -1185,7 +1185,7 @@ App::error()
$error = new AppwriteException(AppwriteException::RELATIONSHIP_VALUE_INVALID, $error->getMessage(), previous: $error);
break;
case 'Utopia\Database\Exception\NotFound':
$error = new AppwriteException(AppwriteException::COLLECTION_NOT_FOUND, $error->getMessage(), previous: $error);
$error = new AppwriteException(AppwriteException::TABLE_NOT_FOUND, $error->getMessage(), previous: $error);
break;
case 'Utopia\Database\Exception\Dependency':
$error = new AppwriteException(AppwriteException::INDEX_DEPENDENCY, null, previous: $error);