github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/actor/actionerror/space_name_taken_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  type SpaceNameTakenError struct {
     6  	Name string
     7  }
     8  
     9  func (err SpaceNameTakenError) Error() string {
    10  	return fmt.Sprintf("A space with the name '%s' already exists", err.Name)
    11  }