github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/actor/actionerror/application_already_exists_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // ApplicationAlreadyExistsError represents the error that occurs when the 6 // application already exists. 7 type ApplicationAlreadyExistsError struct { 8 Name string 9 } 10 11 func (e ApplicationAlreadyExistsError) Error() string { 12 return fmt.Sprintf("Application '%s' already exists.", e.Name) 13 }