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

Function newTxError

migrate.go:87–92  ·  view source on GitHub ↗
(migration *PlannedMigration, err error)

Source from the content-addressed store, hash-verified

85}
86
87func newTxError(migration *PlannedMigration, err error) error {
88 return &TxError{
89 Migration: migration.Migration,
90 Err: err,
91 }
92}
93
94func (e *TxError) Error() string {
95 return e.Err.Error() + " handling " + e.Migration.Id

Callers 2

applyMigrationsMethod · 0.85
SkipMaxFunction · 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…