feat: switch from errors to fault
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/config/fetcher.go → internal/config/fetcher.go
@@ -3,8 +3,8 @@ import ( "fmt" + "github.com/Southclaws/fault" "github.com/stoewer/go-strcase" - "gitlab.com/tozd/go/errors" ) type Fetcher int@@ -38,7 +38,7 @@ return ChannelNixpkgs, nil case "download": return Download, nil default: - return UnknownFetcher, errors.Errorf("unsupported fetcher %s", name) + return UnknownFetcher, fault.Newf("unsupported fetcher %s", name) } }