pcmt/error.go
leo 4de0576c26
All checks were successful
continuous-integration/drone/push Build is passing
go: add some more startup checks for DB
2023-05-17 13:35:13 +02:00

9 lines
218 B
Go

package main
import "errors"
var (
errDBNotConfigured = errors.New("Database connection string or database type were not set")
errUnsupportedDBType = errors.New("DBTYPE can only be one of postgres or sqlite3")
)