Documentation ¶
Index ¶
Constants ¶
View Source
const ( // InvalidVSwitchIDIPNotEnough AssignPrivateIpAddresses const error message // Reference: https://help.aliyun.com/document_detail/85917.html InvalidVSwitchIDIPNotEnough = "InvalidVSwitchId.IpNotEnough" // ErrInvalidIPIPUnassigned see https://help.aliyun.com/document_detail/85919.html // for API UnassignPrivateIpAddresses ErrInvalidIPIPUnassigned = "InvalidIp.IpUnassigned" // ErrInvalidENINotFound .. // for API UnassignPrivateIpAddresses DetachNetworkInterface ErrInvalidENINotFound = "InvalidEniId.NotFound" // ErrInvalidENIState .. // for API DeleteNetworkInterface ErrInvalidENIState = "InvalidOperation.InvalidEniState" // ErrInvalidAllocationIDNotFound InvalidAllocationId.NotFound EIP not found ErrInvalidAllocationIDNotFound = "InvalidAllocationId.NotFound" // ErrIncorrectEIPStatus .. // for API UnassociateEipAddress ReleaseEipAddress ErrIncorrectEIPStatus = "IncorrectEipStatus" // ErrAssociationDuplicated .. // for API AssociateEipAddress ErrAssociationDuplicated = "InvalidAssociation.Duplicated" // ErrIPNotInCbwp for eip ErrIPNotInCbwp = "OperationUnsupported.IpNotInCbwp" // ErrTaskConflict for eip ErrTaskConflict = "TaskConflict" // ErrThrottling . ErrThrottling = "Throttling" )
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
define well known err
Functions ¶
func ErrStatusCodeAssert ¶
ErrStatusCodeAssert check err is match errCode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.