MCPcopy
hub / github.com/cloudfoundry/cli / NewModelAlreadyExistsError

Function NewModelAlreadyExistsError

cf/errors/model_already_exists_error.go:14–19  ·  view source on GitHub ↗
(modelType, name string)

Source from the content-addressed store, hash-verified

12}
13
14func NewModelAlreadyExistsError(modelType, name string) *ModelAlreadyExistsError {
15 return &ModelAlreadyExistsError{
16 ModelType: modelType,
17 ModelName: name,
18 }
19}
20
21func (err *ModelAlreadyExistsError) Error() string {
22 return fmt.Sprintf(T("{{.ModelType}} {{.ModelName}} already exists",

Callers 6

CreateMethod · 0.92
CreateServiceInstanceMethod · 0.92
CreateServiceKeyMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected