From 96c058431d72f73b35b52f30e7785608425e75e1 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Tue, 8 Feb 2022 20:52:02 +0400 Subject: [PATCH] feat: add link to docs --- src/Appwrite/Utopia/Response/Model/Error.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Utopia/Response/Model/Error.php b/src/Appwrite/Utopia/Response/Model/Error.php index e12e0bd42c..20c91fa7c0 100644 --- a/src/Appwrite/Utopia/Response/Model/Error.php +++ b/src/Appwrite/Utopia/Response/Model/Error.php @@ -24,8 +24,8 @@ class Error extends Model ]) ->addRule('type', [ 'type' => self::TYPE_STRING, - 'description' => 'Error type.', - 'default' => '', + 'description' => 'Error type. You can learn more about all the error types at https://appwrite.io/docs/error-codes#errorTypes', + 'default' => 'unknown', 'example' => 'not_found', ]) ->addRule('version', [