github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/api/cloudcontroller/ccerror/api_not_found_error.go (about)

     1  package ccerror
     2  
     3  import "fmt"
     4  
     5  // APINotFoundError is returned when the API endpoint is not found.
     6  type APINotFoundError struct {
     7  	URL string
     8  }
     9  
    10  func (e APINotFoundError) Error() string {
    11  	return fmt.Sprintf("Unable to find API at %s", e.URL)
    12  }