package
2.0.6
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

HandleError converts the given error into a user friendly error where possible, returning the given error when not.
IsNotFoundError return a boolean indicating whether the given error is a 'NotFoundError'.
TryHandleError converts the given error into a user friendly error where possible, returning <nil> where not.

# Variables

ErrEndpointResolutionFailed is returned if we've failed to resolve the cloud endpoint for some reason.
ErrNoValidCredentialsFound is returned if we have checked all of the supported authentication methods and could not create any credentials.
ErrUnauthenticated is returned if we've sent a request to a cloud provider and received a response indicating that we're unauthenticated i.e.
ErrUnauthorized is returned if we've successfully authenticated against the cloud provider, however, we've attempted an operation where we don't have the valid permissions.
ErrUnsupportedOperation is returned when attempting to perform an operation which is unsupported for the current cloud provider.

# Structs

NotFoundError indicates that something was not found.