github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/cf/errors/service_association_error.go (about)

     1  package errors
     2  
     3  import (
     4  	. "github.com/liamawhite/cli-with-i18n/cf/i18n"
     5  )
     6  
     7  type ServiceAssociationError struct {
     8  }
     9  
    10  func NewServiceAssociationError() error {
    11  	return &ServiceAssociationError{}
    12  }
    13  
    14  func (err *ServiceAssociationError) Error() string {
    15  	return T("Cannot delete service instance, service keys and bindings must first be deleted")
    16  }