Nit: Replace `errors.New(fmt.Sprintf(...))` with `fmt.Errorf(...)`
errors.New(fmt.Sprintf(...))
fmt.Errorf(...)