17 lines
267 B
Go
17 lines
267 B
Go
package custom_errors
|
|
|
|
import (
|
|
"git.ksdemosapps.com/kylesoda/go-migrate/internal/app/models"
|
|
)
|
|
|
|
type ExtractorError struct {
|
|
Partition models.Partition
|
|
LastId int64
|
|
HasLastId bool
|
|
Msg string
|
|
}
|
|
|
|
func (e *ExtractorError) Error() string {
|
|
return e.Msg
|
|
}
|