From 7f95ff31bde192c2d0ca4b580f2df8eeccb4e0d1 Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Mon, 21 Nov 2022 15:37:34 +0000 Subject: [PATCH] Updated the error descriptions for better SEO. --- app/config/errors.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/errors.php b/app/config/errors.php index e4dc3d5b4..c5c6a489b 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -70,7 +70,7 @@ return [ ], Exception::GENERAL_ROUTE_NOT_FOUND => [ 'name' => Exception::GENERAL_ROUTE_NOT_FOUND, - 'description' => 'The requested route was not found. Please refer to the docs and try again.', + 'description' => 'The requested route was not found. Please refer to the API docs and try again.', 'code' => 404, ], Exception::GENERAL_CURSOR_NOT_FOUND => [ @@ -486,7 +486,7 @@ return [ ], Exception::PROJECT_PROVIDER_UNSUPPORTED => [ 'name' => Exception::PROJECT_PROVIDER_UNSUPPORTED, - 'description' => 'The chosen OAuth provider is unsupported. Please check the docs for the complete list of supported OAuth providers.', + 'description' => 'The chosen OAuth provider is unsupported. Please check the Create OAuth2 Session docs for the complete list of supported OAuth providers.', 'code' => 501, ], Exception::PROJECT_INVALID_SUCCESS_URL => [