github.com/willmadison/cli@v6.40.1-0.20181018160101-29d5937903ff+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  }