golang-lib/database/error.go

13 lines
274 B
Go
Raw Normal View History

2021-06-02 18:00:53 +02:00
package database
import (
"errors"
)
var (
// ErrNotConnected - database is not connected
ErrNotConnected = errors.New("database is not connected")
// ErrNothingToMigrate if nothing has to be migrated
ErrNothingToMigrate = errors.New("there is nothing to migrate")
)