github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/actionerror/getting_plugin_repository_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // GettingPluginRepositoryError is returned when there's an error
     6  // accessing the plugin repository.
     7  type GettingPluginRepositoryError struct {
     8  	Name    string
     9  	Message string
    10  }
    11  
    12  func (e GettingPluginRepositoryError) Error() string {
    13  	return fmt.Sprintf("Could not get plugin repository '%s'\n%s", e.Name, e.Message)
    14  }