github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+incompatible/actor/actionerror/add_plugin_repository_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 type AddPluginRepositoryError struct { 6 Name string 7 URL string 8 Message string 9 } 10 11 func (e AddPluginRepositoryError) Error() string { 12 return fmt.Sprintf("Could not add repository '%s' from %s: %s", e.Name, e.URL, e.Message) 13 }