errors

package
v1.0.82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const AttachNetworkPortOperationFailed = "failed to perform Attach Network Port Operation for Port %s to Network %s with error %w"
View Source
const AttachVolumeOperationFailed = "failed to perform the Attach volume Operation for volume  %s  with error  %w"
View Source
const CreateCloneOperationFailed = "failed to perform the create clone operation %w"
View Source
const CreateCloudConnectionOperationFailed = "failed to perform Create Cloud Connection Operation for powerinstanceid %s with error %w"
View Source
const CreateDchpOperationFailed = "failed to perform Create DHCP Operation for powerinstanceid %s with error %w"
View Source
const CreateImageOperationFailed = "failed to perform Create Image Operation for powerinstanceid %s with error  %w"
View Source
const CreateNetworkOperationFailed = "failed to perform Create Network Operation for Network %s with error %w"
View Source
const CreateNetworkPortOperationFailed = "failed to perform Create Network Port Operation for Network %s with error %w"
View Source
const CreatePIKeyOperationFailed = "failed to Create PI Key with error %w"
View Source
const CreatePlacementGroupOperationFailed = "failed to perform Create Placement Group Operation for powerinstanceid %s with error  %w"
View Source
const CreateVPNConnectionOperationFailed = "failed to perform Create VPN Connection Operation for powerinstanceid %s with error %w"
View Source
const CreateVPNPolicyOperationFailed = "failed to perform Create VPN Policy Operation for powerinstanceid %s with error %w"
View Source
const CreateVolumeOperationFailed = "failed to perform the Create volume Operation for volume  %s with  error %w"
View Source
const CreateVolumeV2OperationFailed = "failed to perform the Create volume Operation V2 for volume  %s  with error  %w"
View Source
const DeleteCloneOperationFailed = "failed to perform Delete operation %w"
View Source
const DeleteCloudConnectionOperationFailed = "failed to perform Delete Cloud Connection Operation for cloudconnectionid %s with error %w"
View Source
const DeleteCloudInstanceOperationFailed = "failed to delete the Cloud instance %s with error %w"
View Source
const DeleteDhcpOperationFailed = "failed to perform Delete DHCP Operation for dhcp id %s with error %w"
View Source
const DeleteJobsOperationFailed = "failed to perform delete Job operation for job id %s with error %w"
View Source
const DeleteMemberPlacementGroupOperationFailed = "failed to perform Delete Placement Group Operation for powerinstanceid  %s and placement group %s with error %w"
View Source
const DeletePIKeyOperationFailed = "failed to Delete PI Key %s with error %w"
View Source
const DeletePlacementGroupOperationFailed = "failed to perform Delete Placement Group Operation for placement group %s with error %w"
View Source
const DeleteVPNConnectionOperationFailed = "failed to perform Delete VPN Connection Operation for id  %s with error %w"
View Source
const DeleteVPNPolicyOperationFailed = "failed to perform Delete VPN Policy Operation for Policy id  %s with error %w"
View Source
const DeleteVolumeOperationFailed = "failed to perform Delete Volume Operation for volume %s with error %w"

start of Volume Messages

View Source
const GetAllJobsOperationFailed = "failed to perform get all jobs operation with error %w"
View Source
const GetCloneOperationFailed = "failed to get the volumes-clone for the power instanceid  %s with error %w"
View Source
const GetCloudConnectionOperationFailed = "failed to perform Get Cloud Connections Operation for cloudconnectionid %s with error %w"
View Source
const GetCloudInstanceOperationFailed = "failed to Get Cloud Instance %s with error %w"

start of Cloud Instance Messages

View Source
const GetDhcpOperationFailed = "failed to perform Get DHCP Operation for dhcp id %s with error %w"

start of DHCP Messages

View Source
const GetImageOperationFailed = "failed to perform Get Image Operation for image  %s with error %w"
View Source
const GetJobOperationFailed = "failed to perform get Job operation for job id %s with error %w"

start of Job Messages

View Source
const GetNetworkOperationFailed = "failed to perform Get Network  Operation for Network id %s with error %w"

Start of Network Messages

View Source
const GetPIKeyOperationFailed = "failed to Get PI Key %s with error %w"

start of PI Key Messages

View Source
const GetPlacementGroupOperationFailed = "failed to perform Get Placement Group Operation for placement group  %s with error %w"
View Source
const GetSystemPoolsOperationFailed = "failed to perform Get System Pools Operation for powerinstanceid %s with error %w"

start of System-Pools Messages

View Source
const GetVPNConnectionOperationFailed = "failed to perform Get VPN Connection Operation for id %s with error %w"
View Source
const GetVPNPolicyOperationFailed = "failed to perform Get VPN Policy Operation for Policy id %s with error %w"
View Source
const GetVolumeOperationFailed = "failed to perform the Get Volume Operation for volume  %s with error %w"
View Source
const PrepareCloneOperationFailed = "failed to prepare the clone operation for %w"
View Source
const StartCloneOperationFailed = "failed to start the clone operation for %w"

start of Clone Messages

View Source
const UpdateCloudConnectionOperationFailed = "failed to perform Update Cloud Connection Operation for cloudconnectionid %s with error %w"
View Source
const UpdateCloudInstanceOperationFailed = "failed to update the Cloud instance %s with error %w"
View Source
const UpdatePlacementGroupOperationFailed = "failed to perform Update Placement Group Operation for powerinstanceid  %s and placement group %s with error %w"
View Source
const UpdateVPNConnectionOperationFailed = "failed to perform Update VPN Connection Operation for id  %s with error %w"
View Source
const UpdateVPNPolicyOperationFailed = "failed to perform Update VPN Policy Operation for Policy id  %s with error %w"
View Source
const UpdateVolumeOperationFailed = "failed to perform Update Volume Operation for volume %s with error %w"

Variables

This section is empty.

Functions

func ToError

func ToError(err error) error

ToError ...

func Unwrap added in v1.0.82

func Unwrap(err error) error

Retrieve wrapped error from err. When does not contain wrapped error returns nil.

Types

type Error

type Error struct {
	Payload *models.Error
}

PowerError ...

func (Error) Error

func (e Error) Error() string

type ErrorTarget

type ErrorTarget struct {
	Name string
	Type string
}

ErrorTarget ...

type SingleError

type SingleError struct {
	Code     string
	Message  string
	MoreInfo string
	Target   ErrorTarget
}

SingleError ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL