{"modulePath":"github.com/cloudfoundry/cli","version":"v7.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package actionerror\n\n## Functions\n\n```go\nfunc EnrichAPIErrors(e error) error\n```\n\n## Types\n\n```go\ntype ActiveDeploymentNotFoundError struct {\n}\n```\nActiveDeploymentNotFoundError is an error wrapper that represents the case when the deployment is not found.\n\n```go\nfunc (e ActiveDeploymentNotFoundError) Error() string\n```\nError method to display the error message.\n\n```go\ntype AddPluginRepositoryError struct {\n\tName    string\n\tURL     string\n\tMessage string\n}\n```\n\n```go\nfunc (e AddPluginRepositoryError) Error() string\n```\n\n```go\ntype AllInstancesCrashedError struct {\n}\n```\n\n```go\nfunc (e AllInstancesCrashedError) Error() string\n```\n\n```go\ntype AmbiguousUserError struct {\n\tUsername string\n\tOrigins  []string\n}\n```\n\n```go\nfunc (e AmbiguousUserError) Error() string\n```\n\n```go\ntype AppNotFoundInManifestError struct {\n\tName string\n}\n```\n\n```go\nfunc (e AppNotFoundInManifestError) Error() string\n```\n\n```go\ntype ApplicationInstanceCrashedError struct {\n\tName string\n}\n```\nApplicationInstanceCrashedError is returned when an instance crashes.\n\n```go\nfunc (e ApplicationInstanceCrashedError) Error() string\n```\n\n```go\ntype ApplicationInstanceFlappingError struct {\n\tName string\n}\n```\nApplicationInstanceFlappingError is returned when an instance crashes.\n\n```go\nfunc (e ApplicationInstanceFlappingError) Error() string\n```\n\n```go\ntype ApplicationInstancesNotFoundError struct {\n\tApplicationGUID string\n}\n```\nApplicationInstancesNotFoundError is returned when the application does not have running instances.\n\n```go\nfunc (e ApplicationInstancesNotFoundError) Error() string\n```\n\n```go\ntype ApplicationManifestError struct {\n\tMessage string\n}\n```\nApplicationManifestError when applying the manifest fails\n\n```go\nfunc (a ApplicationManifestError) Error() string\n```\n\n```go\ntype ApplicationNotFoundError struct {\n\tGUID string\n\tName string\n}\n```\nApplicationNotFoundError is returned when a requested application is not found.\n\n```go\nfunc (e ApplicationNotFoundError) Error() string\n```\n\n```go\ntype ApplicationNotStartedError struct {\n\tName string\n}\n```\nApplicationNotStartedError is returned when trying to ssh to an application that is not STARTED.\n\n```go\nfunc (e ApplicationNotStartedError) Error() string\n```\n\n```go\ntype ApplicationsNotFoundError struct {\n}\n```\nApplicationsNotFoundError is returned when requested applications are not found.\n\n```go\nfunc (e ApplicationsNotFoundError) Error() string\n```\n\n```go\ntype AssignDropletError struct {\n\tMessage string\n}\n```\nAssignDropletError is returned when assigning the current droplet of an app fails\n\n```go\nfunc (a AssignDropletError) Error() string\n```\n\n```go\ntype BuildpackAlreadyExistsForStackError struct {\n\tMessage string\n}\n```\n\n```go\nfunc (e BuildpackAlreadyExistsForStackError) Error() string\n```\n\n```go\ntype BuildpackInvalidError struct {\n\tMessage string\n}\n```\n\n```go\nfunc (e BuildpackInvalidError) Error() string\n```\n\n```go\ntype BuildpackNameTakenError struct {\n\tName string\n}\n```\n\n```go\nfunc (e BuildpackNameTakenError) Error() string\n```\n\n```go\ntype BuildpackNotFoundError struct {\n\tBuildpackName string\n\tStackName     string\n}\n```\nBuildpackNotFoundError is returned when a requested buildpack is not found.\n\n```go\nfunc (e BuildpackNotFoundError) Error() string\n```\n\n```go\ntype BuildpackStackChangeError struct {\n\tBuildpackName string\n\tBinaryName    string\n}\n```\n\n```go\nfunc (e BuildpackStackChangeError) Error() string\n```\n\n```go\ntype CommandLineOptionsAndManifestConflictError struct {\n\tManifestAttribute  string\n\tCommandLineOptions []string\n}\n```\n\n```go\nfunc (e CommandLineOptionsAndManifestConflictError) Error() string\n```\n\n```go\ntype CommandLineOptionsWithMultipleAppsError struct{}\n```\n\n```go\nfunc (CommandLineOptionsWithMultipleAppsError) Error() string\n```\n\n```go\ntype DockerPasswordNotSetError struct {\n}\n```\n\n```go\nfunc (DockerPasswordNotSetError) Error() string\n```\n\n```go\ntype DomainNotFoundError struct {\n\tName string\n\tGUID string\n}\n```\nDomainNotFoundError is an error wrapper that represents the case when the domain is not found.\n\n```go\nfunc (e DomainNotFoundError) Error() string\n```\nError method to display the error message.\n\n```go\ntype DropletNotFoundError struct {\n\tAppGUID string\n}\n```\nDropletNotFoundError is returned when a requested droplet from an application is not found.\n\n```go\nfunc (e DropletNotFoundError) Error() string\n```\n\n```go\ntype DuplicateServiceError struct {\n\tName           string\n\tServiceBrokers []string\n}\n```\n\n```go\nfunc (e DuplicateServiceError) Error() string\n```\n\n```go\ntype DuplicateServicePlanError struct {\n\tName                string\n\tServiceOfferingName string\n\tServiceBrokerName   string\n}\n```\n\n```go\nfunc (e DuplicateServicePlanError) Error() string\n```\n\n```go\ntype EmptyArchiveError struct {\n\tPath string\n}\n```\n\n```go\nfunc (e EmptyArchiveError) Error() string\n```\n\n```go\ntype EmptyBuildpackDirectoryError struct {\n\tPath string\n}\n```\nEmptyBuildpackDirectoryError represents the error when a user tries to upload new buildpack bits but specifies an empty directory as the path to these bits.\n\n```go\nfunc (e EmptyBuildpackDirectoryError) Error() string\n```\n\n```go\ntype EmptyDirectoryError struct {\n\tPath string\n}\n```\n\n```go\nfunc (e EmptyDirectoryError) Error() string\n```\n\n```go\ntype EnvironmentVariableNotSetError struct {\n\tEnvironmentVariableName string\n}\n```\nEnvironmentVariableNotSetError is returned when trying to unset env variable that was not previously set.\n\n```go\nfunc (e EnvironmentVariableNotSetError) Error() string\n```\n\n```go\ntype FeatureFlagNotFoundError struct {\n\tFeatureFlagName string\n}\n```\nFeatureFlagNotFoundError is returned when a requested feature flag is not found.\n\n```go\nfunc (e FeatureFlagNotFoundError) Error() string\n```\n\n```go\ntype FetchingPluginInfoFromRepositoryError struct {\n\tRepositoryName string\n\tErr            error\n}\n```\nFetchingPluginInfoFromRepositoryError is returned an error is encountered getting plugin info from a repository.\n\n```go\nfunc (e FetchingPluginInfoFromRepositoryError) Error() string\n```\n\n```go\ntype FileChangedError struct {\n\tFilename string\n}\n```\n\n```go\nfunc (e FileChangedError) Error() string\n```\n\n```go\ntype GettingPluginRepositoryError struct {\n\tName    string\n\tMessage string\n}\n```\nGettingPluginRepositoryError is returned when there's an error accessing the plugin repository.\n\n```go\nfunc (e GettingPluginRepositoryError) Error() string\n```\n\n```go\ntype HTTPHealthCheckInvalidError struct {\n}\n```\nHTTPHealthCheckInvalidError is returned when an HTTP endpoint is used with a health check type that is not HTTP.\n\n```go\nfunc (e HTTPHealthCheckInvalidError) Error() string\n```\n\n```go\ntype HostnameWithTCPDomainError struct {\n}\n```\n\n```go\nfunc (HostnameWithTCPDomainError) Error() string\n```\n\n```go\ntype InvalidBuildpacksError struct {\n}\n```\n\n```go\nfunc (err InvalidBuildpacksError) Error() string\n```\n\n```go\ntype InvalidCommandError struct {\n\tCommandName string\n}\n```\nInvalidCommandError represents an error that happens when help is called with an invalid command.\n\n```go\nfunc (err InvalidCommandError) Error() string\n```\n\n```go\ntype InvalidHTTPRouteSettings struct {\n\tDomain string\n}\n```\n\n```go\nfunc (e InvalidHTTPRouteSettings) Error() string\n```\n\n```go\ntype InvalidLifecycleError struct {\n\tLifecycle string\n}\n```\nInvalidLifecycleError is returned when the lifecycle specified is neither running nor staging.\n\n```go\nfunc (e InvalidLifecycleError) Error() string\n```\n\n```go\ntype InvalidRouteError struct {\n\tRoute string\n}\n```\nInvalidRouteError is returned when a route is provided that isn't properly formed URL.\n\n```go\nfunc (err InvalidRouteError) Error() string\n```\n\n```go\ntype InvalidTCPRouteSettings struct {\n\tDomain string\n}\n```\n\n```go\nfunc (e InvalidTCPRouteSettings) Error() string\n```\n\n```go\ntype IsolationSegmentAlreadyExistsError struct {\n\tName string\n}\n```\nIsolationSegmentAlreadyExistsError gets returned when an isolation segment already exists.\n\n```go\nfunc (e IsolationSegmentAlreadyExistsError) Error() string\n```\n\n```go\ntype IsolationSegmentNotFoundError struct {\n\tName string\n}\n```\nIsolationSegmentNotFoundError represents the error that occurs when the isolation segment is not found.\n\n```go\nfunc (e IsolationSegmentNotFoundError) Error() string\n```\n\n```go\ntype LogCacheTimeoutError struct{}\n```\n\n```go\nfunc (LogCacheTimeoutError) Error() string\n```\n\n```go\ntype MissingNameError struct{}\n```\n\n```go\nfunc (MissingNameError) Error() string\n```\n\n```go\ntype MissingSecurityGroupArgsError struct{}\n```\n\n```go\nfunc (MissingSecurityGroupArgsError) Error() string\n```\n\n```go\ntype MultipleBuildpacksFoundError struct {\n\tBuildpackName string\n}\n```\nMultipleBuildpacksFoundError represents the scenario when the cloud controller returns multiple buildpacks when filtering by name.\n\n```go\nfunc (e MultipleBuildpacksFoundError) Error() string\n```\n\n```go\ntype MultipleOrganizationQuotasFoundForNameError struct {\n\tName  string\n\tGUIDs []string\n}\n```\n\n```go\nfunc (e MultipleOrganizationQuotasFoundForNameError) Error() string\n```\n\n```go\ntype MultipleOrganizationsFoundError struct {\n\tName  string\n\tGUIDs []string\n}\n```\nMultipleOrganizationsFoundError represents the scenario when the cloud controller returns multiple organizations when filtering by name. This is a far out edge case and should not happen.\n\n```go\nfunc (e MultipleOrganizationsFoundError) Error() string\n```\n\n```go\ntype MultipleSpacesFoundError struct {\n\tName    string\n\tOrgGUID string\n}\n```\nMultipleSpacesFoundError represents the scenario when the cloud controller returns multiple spaces when filtering by name. This is a far out edge case and should not happen.\n\n```go\nfunc (e MultipleSpacesFoundError) Error() string\n```\n\n```go\ntype MultipleUAAUsersFoundError struct {\n\tUsername string\n\tOrigins  []string\n}\n```\n\n```go\nfunc (e MultipleUAAUsersFoundError) Error() string\n```\n\n```go\ntype NOAATimeoutError struct{}\n```\n\n```go\nfunc (NOAATimeoutError) Error() string\n```\n\n```go\ntype NoCompatibleBinaryError struct {\n}\n```\nNoCompatibleBinaryError is returned when a repository contains a specified plugin but not for the specified platform.\n\n```go\nfunc (e NoCompatibleBinaryError) Error() string\n```\n\n```go\ntype NoDomainsFoundError struct {\n\tOrganizationGUID string\n}\n```\nNoDomainsFoundError is returned when there are no private or shared domains accessible to an organization.\n\n```go\nfunc (e NoDomainsFoundError) Error() string\n```\n\n```go\ntype NoEligiblePackagesError struct {\n\tAppName    string\n\tBinaryName string\n}\n```\n\n```go\nfunc (e NoEligiblePackagesError) Error() string\n```\n\n```go\ntype NoHostnameAndSharedDomainError struct{}\n```\n\n```go\nfunc (NoHostnameAndSharedDomainError) Error() string\n```\n\n```go\ntype NoMatchingDomainError struct {\n\tRoute string\n}\n```\n\n```go\nfunc (e NoMatchingDomainError) Error() string\n```\n\n```go\ntype NoOrganizationTargetedError struct {\n\tBinaryName string\n}\n```\nNoOrganizationTargetedError represents the scenario when an org is not targeted.\n\n```go\nfunc (NoOrganizationTargetedError) Error() string\n```\n\n```go\ntype NoRelationshipError struct {\n}\n```\n\n```go\nfunc (e NoRelationshipError) Error() string\n```\n\n```go\ntype NoSpaceTargetedError struct {\n\tBinaryName string\n}\n```\nNoSpaceTargetedError represents the scenario when a space is not targeted.\n\n```go\nfunc (NoSpaceTargetedError) Error() string\n```\n\n```go\ntype NonexistentAppPathError struct {\n\tPath string\n}\n```\n\n```go\nfunc (e NonexistentAppPathError) Error() string\n```\n\n```go\ntype NotLoggedInError struct {\n\tBinaryName string\n}\n```\nNotLoggedInError represents the scenario when the user is not logged in.\n\n```go\nfunc (NotLoggedInError) Error() string\n```\n\n```go\ntype OrganizationNameTakenError struct {\n\tName string\n}\n```\nOrganizationNameTakenError represents the error that occurs when creating an organization fails because an organization with that name already exists\n\n```go\nfunc (e OrganizationNameTakenError) Error() string\n```\n\n```go\ntype OrganizationNotFoundError struct {\n\tGUID string\n\tName string\n}\n```\nOrganizationNotFoundError represents the error that occurs when the organization is not found.\n\n```go\nfunc (e OrganizationNotFoundError) Error() string\n```\n\n```go\ntype OrganizationQuotaNotFoundError struct {\n\tGUID string\n}\n```\n\n```go\nfunc (e OrganizationQuotaNotFoundError) Error() string\n```\n\n```go\ntype OrganizationQuotaNotFoundForNameError struct {\n\tName string\n}\n```\n\n```go\nfunc (e OrganizationQuotaNotFoundForNameError) Error() string\n```\n\n```go\ntype OrphanedRoutesNotFoundError struct{}\n```\nOrphanedRoutesNotFoundError is an error wrapper that represents the case when no orphaned routes are found.\n\n```go\nfunc (OrphanedRoutesNotFoundError) Error() string\n```\nError method to display the error message.\n\n```go\ntype PackageNotFoundInAppError struct {\n\tGUID       string\n\tAppName    string\n\tBinaryName string\n}\n```\n\n```go\nfunc (e PackageNotFoundInAppError) Error() string\n```\n\n```go\ntype PackageProcessingExpiredError struct{}\n```\n\n```go\nfunc (PackageProcessingExpiredError) Error() string\n```\n\n```go\ntype PackageProcessingFailedError struct{}\n```\n\n```go\nfunc (PackageProcessingFailedError) Error() string\n```\n\n```go\ntype PasswordGrantTypeLogoutRequiredError struct{}\n```\nPasswordGrantTypeLogoutRequiredError is returned when a user tries to authenticate with the password grant type, but a previous user had authenticated with the client grant type\n\n```go\nfunc (PasswordGrantTypeLogoutRequiredError) Error() string\n```\n\n```go\ntype PluginBinaryRemoveFailedError struct {\n\tErr error\n}\n```\nPluginBinaryRemoveFailedError is returned when running the plugin binary fails.\n\n```go\nfunc (e PluginBinaryRemoveFailedError) Error() string\n```\n\n```go\ntype PluginCommandsConflictError struct {\n\tPluginName     string\n\tPluginVersion  string\n\tCommandNames   []string\n\tCommandAliases []string\n}\n```\nPluginCommandsConflictError is returned when a plugin command name conflicts with a core or existing plugin command name.\n\n```go\nfunc (PluginCommandsConflictError) Error() string\n```\n\n```go\ntype PluginExecuteError struct {\n\tErr error\n}\n```\nPluginExecuteError is returned when running the plugin binary fails.\n\n```go\nfunc (e PluginExecuteError) Error() string\n```\n\n```go\ntype PluginInvalidError struct {\n\tErr error\n}\n```\nPluginInvalidError is returned with a plugin is invalid because it is missing a name or has 0 commands.\n\n```go\nfunc (PluginInvalidError) Error() string\n```\n\n```go\ntype PluginInvalidLibraryVersionError struct {\n}\n```\nPluginInvalidLibraryVersionError is returned with a plugin is invalid because it is compiled with an incompatible version of the library.\n\n```go\nfunc (PluginInvalidLibraryVersionError) Error() string\n```\n\n```go\ntype PluginNotFoundError struct {\n\tPluginName string\n}\n```\nPluginNotFoundError is an error returned when a plugin is not found.\n\n```go\nfunc (e PluginNotFoundError) Error() string\n```\nError outputs a plugin not found error message.\n\n```go\ntype PluginNotFoundInAnyRepositoryError struct {\n\tPluginName string\n}\n```\nPluginNotFoundInAnyRepositoryError is an error returned when a plugin cannot be found in any repositories.\n\n```go\nfunc (e PluginNotFoundInAnyRepositoryError) Error() string\n```\nError outputs that the plugin cannot be found in any repositories.\n\n```go\ntype PluginNotFoundInRepositoryError struct {\n\tPluginName     string\n\tRepositoryName string\n}\n```\nPluginNotFoundInRepositoryError is an error returned when a plugin is not found.\n\n```go\nfunc (e PluginNotFoundInRepositoryError) Error() string\n```\nError outputs the plugin not found in repository error message.\n\n```go\ntype PolicyDoesNotExistError struct{}\n```\n\n```go\nfunc (PolicyDoesNotExistError) Error() string\n```\n\n```go\ntype PortNotProvidedForQueryError struct {\n}\n```\n\n```go\nfunc (PortNotProvidedForQueryError) Error() string\n```\nPortNotProvidedForQueryError is returned when trying to GetRouteByComponents, querying by a tcp domain, but omitting a port\n\n```go\ntype ProcessInstanceNotFoundError struct {\n\tProcessType   string\n\tInstanceIndex uint\n}\n```\nProcessInstanceNotFoundError is returned when the process type or process instance cannot be found\n\n```go\nfunc (e ProcessInstanceNotFoundError) Error() string\n```\n\n```go\ntype ProcessInstanceNotRunningError struct {\n\tProcessType   string\n\tInstanceIndex uint\n}\n```\nProcessInstanceNotRunningError is returned when trying to perform an action on an instance that is not running\n\n```go\nfunc (e ProcessInstanceNotRunningError) Error() string\n```\n\n```go\ntype ProcessNotFoundError struct {\n\tProcessType string\n}\n```\nProcessNotFoundError is returned when a requested application is not found.\n\n```go\nfunc (e ProcessNotFoundError) Error() string\n```\n\n```go\ntype PropertyCombinationError struct {\n\tAppName    string\n\tProperties []string\n}\n```\n\n```go\nfunc (e PropertyCombinationError) Error() string\n```\n\n```go\ntype QuotaNotFoundForNameError struct {\n\tName string\n}\n```\n\n```go\nfunc (e QuotaNotFoundForNameError) Error() string\n```\n\n```go\ntype RepositoryAlreadyExistsError struct {\n\tName string\n\tURL  string\n}\n```\n\n```go\nfunc (e RepositoryAlreadyExistsError) Error() string\n```\n\n```go\ntype RepositoryNameTakenError struct {\n\tName string\n}\n```\n\n```go\nfunc (e RepositoryNameTakenError) Error() string\n```\n\n```go\ntype RepositoryNotRegisteredError struct {\n\tName string\n}\n```\n\n```go\nfunc (e RepositoryNotRegisteredError) Error() string\n```\n\n```go\ntype RouteAlreadyExistsError struct {\n\tRoute string\n\tErr   error\n}\n```\nRouteAlreadyExistsError is returned when a route already exists\n\n```go\nfunc (e RouteAlreadyExistsError) Error() string\n```\n\n```go\ntype RouteBoundToMultipleAppsError struct {\n\tAppName  string\n\tRouteURL string\n}\n```\nRouteNotFoundError is returned when a route cannot be found\n\n```go\nfunc (e RouteBoundToMultipleAppsError) Error() string\n```\n\n```go\ntype RouteDestinationNotFoundError struct {\n\tAppGUID     string\n\tProcessType string\n\tRouteGUID   string\n}\n```\nRouteDestinationNotFoundError is returned when a route destination cannot be found\n\n```go\nfunc (e RouteDestinationNotFoundError) Error() string\n```\n\n```go\ntype RouteInDifferentSpaceError struct {\n\tRoute string\n}\n```\nRouteInDifferentSpaceError is returned when the route exists in a different space than the one requesting it.\n\n```go\nfunc (RouteInDifferentSpaceError) Error() string\n```\n\n```go\ntype RouteNotFoundError struct {\n\tHost       string\n\tDomainGUID string\n\tDomainName string\n\tPath       string\n\tPort       int\n}\n```\nRouteNotFoundError is returned when a route cannot be found\n\n```go\nfunc (e RouteNotFoundError) Error() string\n```\n\n```go\ntype RoutePathWithTCPDomainError struct {\n}\n```\n\n```go\nfunc (RoutePathWithTCPDomainError) Error() string\n```\n\n```go\ntype RouterGroupNotFoundError struct {\n\tName string\n}\n```\n\n```go\nfunc (err RouterGroupNotFoundError) Error() string\n```\n\n```go\ntype SSHEndpointNotSetError struct {\n}\n```\nSSHEndpointNotSetError is returned when staging an application fails.\n\n```go\nfunc (e SSHEndpointNotSetError) Error() string\n```\n\n```go\ntype SSHHostKeyFingerprintNotSetError struct {\n}\n```\nSSHHostKeyFingerprintNotSetError is returned when staging an application fails.\n\n```go\nfunc (e SSHHostKeyFingerprintNotSetError) Error() string\n```\n\n```go\ntype SecurityGroupJsonSyntaxError struct {\n\tPath string\n}\n```\n\n```go\nfunc (e SecurityGroupJsonSyntaxError) Error() string\n```\n\n```go\ntype SecurityGroupNotBoundError struct {\n\tLifecycle constant.SecurityGroupLifecycle\n\tName      string\n}\n```\nSecurityGroupNotBoundError is returned when a requested security group is not bound in the requested lifecycle phase to the requested space.\n\n```go\nfunc (e SecurityGroupNotBoundError) Error() string\n```\n\n```go\ntype SecurityGroupNotBoundToSpaceError struct {\n\tLifecycle constant.SecurityGroupLifecycle\n\tName      string\n\tSpace     string\n}\n```\nSecurityGroupNotBoundToSpaceError is returned when a requested security group is not bound in the requested lifecycle phase to the requested space.\n\n```go\nfunc (e SecurityGroupNotBoundToSpaceError) Error() string\n```\n\n```go\ntype SecurityGroupNotFoundError struct {\n\tName string\n}\n```\nSecurityGroupNotFoundError is returned when a requested security group is not found.\n\n```go\nfunc (e SecurityGroupNotFoundError) Error() string\n```\n\n```go\ntype ServiceAndBrokerCombinationNotFoundError struct {\n\tBrokerName  string\n\tServiceName string\n}\n```\n\n```go\nfunc (e ServiceAndBrokerCombinationNotFoundError) Error() string\n```\n\n```go\ntype ServiceBindingNotFoundError struct {\n\tAppGUID             string\n\tServiceInstanceGUID string\n}\n```\nServiceBindingNotFoundError is returned when a service binding cannot be found.\n\n```go\nfunc (e ServiceBindingNotFoundError) Error() string\n```\n\n```go\ntype ServiceBrokerNotFoundError struct {\n\tName string\n}\n```\n\n```go\nfunc (e ServiceBrokerNotFoundError) Error() string\n```\n\n```go\ntype ServiceInstanceAlreadySharedError struct{}\n```\nServiceInstanceAlreadySharedError is returned when attempting to shared a service instance to a space in which the service instance has already been shared with.\n\n```go\nfunc (e ServiceInstanceAlreadySharedError) Error() string\n```\n\n```go\ntype ServiceInstanceNotFoundError struct {\n\tGUID string\n\tName string\n}\n```\n\n```go\nfunc (e ServiceInstanceNotFoundError) Error() string\n```\n\n```go\ntype ServiceInstanceNotShareableError struct {\n\tFeatureFlagEnabled          bool\n\tServiceBrokerSharingEnabled bool\n}\n```\nServiceInstanceNotShareableError is returned when either the service\\_instance\\_sharing feature flag is disabled or the service broker has disabled sharing\n\n```go\nfunc (e ServiceInstanceNotShareableError) Error() string\n```\n\n```go\ntype ServiceInstanceNotSharedToSpaceError struct {\n\tServiceInstanceName string\n}\n```\nServiceInstanceNotSharedToSpaceError is returned when attempting to unshare a service instance from a space to which it is not shared.\n\n```go\nfunc (e ServiceInstanceNotSharedToSpaceError) Error() string\n```\n\n```go\ntype ServiceNotFoundError struct {\n\tName, Broker string\n}\n```\n\n```go\nfunc (e ServiceNotFoundError) Error() string\n```\n\n```go\ntype ServiceOfferingNameAmbiguityError struct {\n\tccerror.ServiceOfferingNameAmbiguityError\n}\n```\n\n```go\nfunc (e ServiceOfferingNameAmbiguityError) Error() string\n```\n\n```go\ntype ServicePlanNotFoundError struct {\n\tPlanName     string\n\tOfferingName string\n}\n```\n\n```go\nfunc (e ServicePlanNotFoundError) Error() string\n```\n\n```go\ntype ServicePlanVisibilityTypeError struct {\n}\n```\n\n```go\nfunc (e ServicePlanVisibilityTypeError) Error() string\n```\n\n```go\ntype ServiceUpgradeNotAvailableError struct{}\n```\nServiceUpgradeNotAvailableError is returned when attempting to upgrade a single service instance, but there is no upgrade available on the current service plan, i.e., service instance is already up-to-date.\n\n```go\nfunc (e ServiceUpgradeNotAvailableError) Error() string\n```\n\n```go\ntype SharedServiceInstanceNotFoundError struct {\n}\n```\nSharedServiceInstanceNotFoundError is returned when a service instance is not found when performing a share service.\n\n```go\nfunc (e SharedServiceInstanceNotFoundError) Error() string\n```\n\n```go\ntype SpaceAlreadyExistsError struct {\n\tSpace string\n\tErr   error\n}\n```\nSpaceAlreadyExistsError is returned when a space already exists\n\n```go\nfunc (e SpaceAlreadyExistsError) Error() string\n```\n\n```go\ntype SpaceNameTakenError struct {\n\tName string\n}\n```\n\n```go\nfunc (err SpaceNameTakenError) Error() string\n```\n\n```go\ntype SpaceNotFoundError struct {\n\tGUID string\n\tName string\n}\n```\nSpaceNotFoundError represents the scenario when the space searched for could not be found.\n\n```go\nfunc (e SpaceNotFoundError) Error() string\n```\n\n```go\ntype SpaceQuotaNotFoundError struct {\n\tGUID string\n}\n```\n\n```go\nfunc (e SpaceQuotaNotFoundError) Error() string\n```\n\n```go\ntype SpaceQuotaNotFoundForNameError struct {\n\tName string\n}\n```\n\n```go\nfunc (e SpaceQuotaNotFoundForNameError) Error() string\n```\n\n```go\ntype SpaceSSHAlreadyDisabledError struct {\n\tSpace string\n\tErr   error\n}\n```\nSpaceSSHAlreadyDisabledError is returned when ssh is already disabled on the space\n\n```go\nfunc (e SpaceSSHAlreadyDisabledError) Error() string\n```\n\n```go\ntype SpaceSSHAlreadyEnabledError struct {\n\tSpace string\n\tErr   error\n}\n```\nSpaceSSHAlreadyEnabledError is returned when ssh is already enabled on the space\n\n```go\nfunc (e SpaceSSHAlreadyEnabledError) Error() string\n```\n\n```go\ntype StackNotFoundError struct {\n\tGUID string\n\tName string\n}\n```\nStackNotFoundError is returned when a requested stack is not found.\n\n```go\nfunc (e StackNotFoundError) Error() string\n```\n\n```go\ntype StagingFailedError struct {\n\tReason string\n}\n```\nStagingFailedError is returned when staging an application fails.\n\n```go\nfunc (e StagingFailedError) Error() string\n```\n\n```go\ntype StagingFailedNoAppDetectedError struct {\n\tReason string\n}\n```\nStagingFailedNoAppDetectedError is returned when staging an application fails.\n\n```go\nfunc (e StagingFailedNoAppDetectedError) Error() string\n```\n\n```go\ntype StagingTimeoutError struct {\n\tAppName string\n\tTimeout time.Duration\n}\n```\nStagingTimeoutError is returned when staging timeout is reached waiting for an application to stage.\n\n```go\nfunc (e StagingTimeoutError) Error() string\n```\n\n```go\ntype StartupTimeoutError struct {\n\tName string\n}\n```\nStartupTimeoutError is returned when startup timeout is reached waiting for an application to start.\n\n```go\nfunc (e StartupTimeoutError) Error() string\n```\n\n```go\ntype TCPLookupWithoutPort struct {\n}\n```\n\n```go\nfunc (TCPLookupWithoutPort) Error() string\n```\n\n```go\ntype TCPRouteOptionsNotProvidedError struct {\n\tDomain string\n}\n```\n\n```go\nfunc (e TCPRouteOptionsNotProvidedError) Error() string\n```\n\n```go\ntype TaskNotFoundError struct {\n\tSequenceID int\n}\n```\nTaskNotFoundError is returned when no tasks matching the filters are found.\n\n```go\nfunc (e TaskNotFoundError) Error() string\n```\n\n```go\ntype TaskWorkersUnavailableError struct {\n\tMessage string\n}\n```\nTaskWorkersUnavailableError is returned when there are no workers to run a given task.\n\n```go\nfunc (e TaskWorkersUnavailableError) Error() string\n```\n\n```go\ntype TriggerLegacyPushError struct {\n\tDomainHostRelated  []string\n\tGlobalRelated      []string\n\tInheritanceRelated bool\n\tRandomRouteRelated bool\n}\n```\n\n```go\nfunc (e TriggerLegacyPushError) Error() string\n```\n\n```go\ntype UploadFailedError struct {\n\tErr error\n}\n```\n\n```go\nfunc (UploadFailedError) Error() string\n```\n\n```go\ntype UserNotFoundError struct {\n\tUsername string\n\tOrigin   string\n}\n```\nUserNotFoundError is an error wrapper that represents the case when the user is not found in UAA.\n\n```go\nfunc (e UserNotFoundError) Error() string\n```\nError method to display the error message.\n\n","path":"github.com/cloudfoundry/cli/actor/actionerror","name":"actionerror","synopsis":"","isRedistributable":true}
