refactor: remove unused LoaderError type and associated file; streamline error handling structure

This commit is contained in:
2026-05-08 23:32:07 -05:00
parent 85d7d69da9
commit b5fd6d0534
4 changed files with 10 additions and 16 deletions

View File

@@ -1,14 +0,0 @@
package custom_errors
import (
"git.ksdemosapps.com/kylesoda/go-migrate/internal/app/models"
)
type LoaderError struct {
Batch models.Batch
Msg string
}
func (e *LoaderError) Error() string {
return e.Msg
}

View File

@@ -14,3 +14,12 @@ type ExtractorError struct {
func (e *ExtractorError) Error() string {
return e.Msg
}
type LoaderError struct {
Batch models.Batch
Msg string
}
func (e *LoaderError) Error() string {
return e.Msg
}

View File

@@ -1 +0,0 @@
package transformers