Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the Apache v2.0 license.
Index ¶
- Variables
- func GetErrorCode(err error) string
- func GetGRPCError(err error) error
- func GetGRPCErrorCode(err error) codes.Code
- func IsAlreadyExists(err error) bool
- func IsAlreadySet(err error) bool
- func IsDegraded(err error) bool
- func IsDuplicates(err error) bool
- func IsErrDeadlineExceeded(err error) bool
- func IsExpired(err error) bool
- func IsFailed(err error) bool
- func IsGRPCAborted(err error) bool
- func IsGRPCAlreadyExist(err error) bool
- func IsGRPCDeadlineExceeded(err error) bool
- func IsGRPCNotFound(err error) bool
- func IsGRPCUnavailable(err error) bool
- func IsGRPCUnknown(err error) bool
- func IsInUse(err error) bool
- func IsInconsistentState(err error) bool
- func IsInvalidConfiguration(err error) bool
- func IsInvalidFilter(err error) bool
- func IsInvalidGroup(err error) bool
- func IsInvalidInput(err error) bool
- func IsInvalidToken(err error) bool
- func IsInvalidVersion(err error) bool
- func IsNoActionTaken(err error) bool
- func IsNotFound(err error) bool
- func IsNotImplemented(err error) bool
- func IsNotInitialized(err error) bool
- func IsNotSet(err error) bool
- func IsNotSupported(err error) bool
- func IsOldVersion(err error) bool
- func IsOutOfCapacity(err error) bool
- func IsOutOfMemory(err error) bool
- func IsOutOfRange(err error) bool
- func IsPendingState(err error) bool
- func IsPoolFull(err error) bool
- func IsRevoked(err error) bool
- func IsTimeout(err error) bool
- func IsUnknown(err error) bool
- func IsUpdateFailed(err error) bool
- func IsWrongHost(err error) bool
- func New(errString string) error
- func Wrap(cause error, message string) error
- func Wrapf(err error, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotFound error = errors.New("Not Found") Degraded error = errors.New("Degraded") InvalidConfiguration error = errors.New("Invalid Configuration") InvalidInput error = errors.New("Invalid Input") NotSupported error = errors.New("Not Supported") AlreadyExists error = errors.New("Already Exists") InUse error = errors.New("In Use") Duplicates error = errors.New("Duplicates") InvalidFilter error = errors.New("Invalid Filter") Failed error = errors.New("Failed") InvalidGroup error = errors.New("InvalidGroup") InvalidVersion error = errors.New("InvalidVersion") OldVersion error = errors.New("OldVersion") OutOfCapacity error = errors.New("OutOfCapacity") OutOfMemory error = errors.New("OutOfMemory") UpdateFailed error = errors.New("Update Failed") NotInitialized error = errors.New("Not Initialized") NotImplemented error = errors.New("Not Implemented") OutOfRange error = errors.New("Out of range") AlreadySet error = errors.New("Already Set") NotSet error = errors.New("Not Set") InconsistentState error = errors.New("Inconsistent state") PendingState error = errors.New("Pending state") WrongHost error = errors.New("Wrong host") PoolFull error = errors.New("The pool is full") NoActionTaken error = errors.New("No Action Taken") Expired error = errors.New("Expired") Revoked error = errors.New("Revoked") Timeout error = errors.New("The operation has timed out") RunCommandFailed error = errors.New("Run Command Failed") InvalidToken error = errors.New("InvalidToken") Unknown error = errors.New("Unknown Reason") )
Functions ¶
func GetErrorCode ¶ added in v0.10.8
func GetGRPCError ¶
func GetGRPCErrorCode ¶
func IsAlreadyExists ¶
func IsAlreadySet ¶
func IsDegraded ¶
func IsDuplicates ¶ added in v0.10.8
func IsErrDeadlineExceeded ¶ added in v0.10.15
func IsGRPCAborted ¶
func IsGRPCAlreadyExist ¶
func IsGRPCDeadlineExceeded ¶
func IsGRPCNotFound ¶
func IsGRPCUnavailable ¶
func IsGRPCUnknown ¶
func IsInconsistentState ¶
func IsInvalidConfiguration ¶
func IsInvalidFilter ¶ added in v0.10.8
func IsInvalidGroup ¶
func IsInvalidInput ¶
func IsInvalidToken ¶ added in v0.10.14
func IsInvalidVersion ¶
func IsNoActionTaken ¶
func IsNotFound ¶
func IsNotImplemented ¶ added in v0.10.8
func IsNotInitialized ¶
func IsNotSupported ¶
func IsOldVersion ¶ added in v0.10.8
func IsOutOfCapacity ¶ added in v0.10.7
func IsOutOfMemory ¶
func IsOutOfRange ¶
func IsPendingState ¶
func IsPoolFull ¶
func IsUpdateFailed ¶ added in v0.10.8
func IsWrongHost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.