rollback: auth exception as per 1.8.x source.

This commit is contained in:
Darshan 2025-06-11 16:53:14 +05:30
parent 3e1adc6004
commit 8e2eff7894

View file

@ -1171,6 +1171,9 @@ App::error()
break;
}
break;
case 'Utopia\Database\Exception\Authorization':
$error = new AppwriteException(AppwriteException::USER_UNAUTHORIZED);
break;
case 'Utopia\Database\Exception\Timeout':
$error = new AppwriteException(AppwriteException::DATABASE_TIMEOUT, previous: $error);
break;