sql error handling: no rows + duplicated key

This commit is contained in:
2023-10-20 21:34:20 +02:00
parent 513b048e49
commit d12c55d740
14 changed files with 88 additions and 2564 deletions

6
utils/sql_errors.go Normal file
View File

@@ -0,0 +1,6 @@
package utils
const (
SQL_NO_ROWS = "no rows in result set"
SQL_DUPLICATE = "duplicate key"
)