From 80380ff9b7c8721e3fbaaacb559a987ef44a64eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Strzali=C5=84ski?= Date: Fri, 6 Dec 2024 15:02:48 +0100 Subject: [PATCH] The error message should suggest a action (#1073) --- quesma/end_user_errors/end_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quesma/end_user_errors/end_user.go b/quesma/end_user_errors/end_user.go index 985b73d22..0b6a6f8a5 100644 --- a/quesma/end_user_errors/end_user.go +++ b/quesma/end_user_errors/end_user.go @@ -102,7 +102,7 @@ var ErrDatabaseFieldNotFound = errorType(3002, "Field not found in database.") var ErrDatabaseConnectionError = errorType(3003, "Error connecting to the database. Check your connection settings.") var ErrDatabaseQueryError = errorType(3004, "Error executing query in database.") var ErrDatabaseAuthenticationError = errorType(3005, "Error authenticating with database. Check your connection settings.") -var ErrDatabaseOtherError = errorType(3006, "Unspecified database error.") +var ErrDatabaseOtherError = errorType(3006, "Database query has failed. You may get more details in the Quesma console.") var ErrDatabaseInvalidProtocol = errorType(3007, "Invalid database protocol. Check your connection settings. ") var ErrDatabaseTLS = errorType(3008, "Error establishing TLS connection with database. Check your connection settings.") var ErrDatabaseTLSVerify = errorType(3009, "Error verifying TLS certificate with database. Check your connection settings.")