MCPcopy
hub / github.com/rubenv/sql-migrate / newPlanError

Function newPlanError

migrate.go:67–72  ·  view source on GitHub ↗
(migration *Migration, errorMessage string)

Source from the content-addressed store, hash-verified

65}
66
67func newPlanError(migration *Migration, errorMessage string) error {
68 return &PlanError{
69 Migration: migration,
70 ErrorMessage: errorMessage,
71 }
72}
73
74func (p *PlanError) Error() string {
75 return fmt.Sprintf("Unable to create migration plan because of %s: %s",

Callers 1

planMigrationCommonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…