Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 80380ff

Browse files
authored
The error message should suggest a action (#1073)
1 parent abccced commit 80380ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quesma/end_user_errors/end_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ var ErrDatabaseFieldNotFound = errorType(3002, "Field not found in database.")
102102
var ErrDatabaseConnectionError = errorType(3003, "Error connecting to the database. Check your connection settings.")
103103
var ErrDatabaseQueryError = errorType(3004, "Error executing query in database.")
104104
var ErrDatabaseAuthenticationError = errorType(3005, "Error authenticating with database. Check your connection settings.")
105-
var ErrDatabaseOtherError = errorType(3006, "Unspecified database error.")
105+
var ErrDatabaseOtherError = errorType(3006, "Database query has failed. You may get more details in the Quesma console.")
106106
var ErrDatabaseInvalidProtocol = errorType(3007, "Invalid database protocol. Check your connection settings. ")
107107
var ErrDatabaseTLS = errorType(3008, "Error establishing TLS connection with database. Check your connection settings.")
108108
var ErrDatabaseTLSVerify = errorType(3009, "Error verifying TLS certificate with database. Check your connection settings.")

0 commit comments

Comments
 (0)