(migration *Migration, errorMessage string)
| 65 | } |
| 66 | |
| 67 | func newPlanError(migration *Migration, errorMessage string) error { |
| 68 | return &PlanError{ |
| 69 | Migration: migration, |
| 70 | ErrorMessage: errorMessage, |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | func (p *PlanError) Error() string { |
| 75 | return fmt.Sprintf("Unable to create migration plan because of %s: %s", |
no outgoing calls
no test coverage detected
searching dependent graphs…