Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrInternalError = "InternalError" ErrForbidden = "Forbidden.RAM" // InvalidVSwitchIDIPNotEnough AssignPrivateIpAddresses const error message // Reference: https://help.aliyun.com/document_detail/85917.html InvalidVSwitchIDIPNotEnough = "InvalidVSwitchId.IpNotEnough" // ErrEniPerInstanceLimitExceeded CreateNetworkInterfaces const error message // Reference: https://help.aliyun.com/document_detail/85917.html ErrEniPerInstanceLimitExceeded = "EniPerInstanceLimitExceeded" // ErrSecurityGroupInstanceLimitExceed CreateNetworkInterfaces const error message // Reference: https://help.aliyun.com/document_detail/85917.html ErrSecurityGroupInstanceLimitExceed = "SecurityGroupInstanceLimitExceed" // ErrInvalidIPIPUnassigned see https://help.aliyun.com/document_detail/85919.html // for API UnassignPrivateIpAddresses ErrInvalidIPIPUnassigned = "InvalidIp.IpUnassigned" // ErrInvalidENINotFound .. // for API UnassignPrivateIpAddresses DetachNetworkInterface ErrInvalidENINotFound = "InvalidEniId.NotFound" ErrInvalidEcsIDNotFound = "InvalidEcsId.NotFound" ErrIPv4CountExceeded = "InvalidOperation.Ipv4CountExceeded" ErrIPv6CountExceeded = "InvalidOperation.Ipv6CountExceeded" // ErrInvalidENIState .. // for API DeleteNetworkInterface ErrInvalidENIState = "InvalidOperation.InvalidEniState" // ErrInvalidAllocationIDNotFound InvalidAllocationId.NotFound EIP not found ErrInvalidAllocationIDNotFound = "InvalidAllocationId.NotFound" // ErrThrottling . ErrThrottling = "Throttling" ErrOperationConflict = "Operation.Conflict" )
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
define well known err
Functions ¶
func ErrorCodeIs ¶ added in v1.8.4
func IsURLError ¶ added in v1.8.4
IsURLError if there is conn problem
Types ¶
Click to show internal directories.
Click to hide internal directories.