-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.go
More file actions
16 lines (14 loc) · 788 Bytes
/
error.go
File metadata and controls
16 lines (14 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package gomigration
import "errors"
var (
ErrConfigNotProvided = errors.New("config not provided")
ErrDriverNotProvided = errors.New("driver not provided")
ErrMigrationDirNotProvided = errors.New("migration directory not provided")
ErrMigrationDirNotExists = errors.New("migration directory does not exist")
ErrMigrationNameNotProvided = errors.New("migration name not provided")
ErrMigrationFileAlreadyExists = errors.New("migration file already exists")
ErrMigrationFileNotFound = errors.New("migration file not found")
ErrInvalidRollbackStep = errors.New("invalid rollback step")
ErrEmbeddedFSNotProvided = errors.New("embedded fs not provided")
ErrGoMigrationNotProvided = errors.New("gomigration instance not provided")
)