github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/actionerror/service_instance_not_found_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 type ServiceInstanceNotFoundError struct { 6 GUID string 7 Name string 8 } 9 10 func (e ServiceInstanceNotFoundError) Error() string { 11 if e.Name == "" { 12 return fmt.Sprintf("Service instance (GUID: %s) not found.", e.GUID) 13 } 14 return fmt.Sprintf("Service instance '%s' not found.", e.Name) 15 }