# Functions
IsAlreadyExistsError returns true if the unwrapped error is ErrAlreadyExists.
IsErrCanceled returns true if the unwrapped error is ErrCanceled.
IsErrNotImplemented returns true if the unwrapped error is ErrNotImplemented.
IsErrParsingFailed returns true if the unwrapped error is ErrParsingFailed.
IsForbiddenError returns true if the unwrapped error is ErrForbidden.
IsNotFoundError returns true if the unwrapped error is ErrNotFound.
IsUnknownError returns true if the unwrapped error is ErrUnknown.
# Constants
ExitCodeLoginRequired exit code when command cannot execute because it requires cloud login This will be used by VSCode to detect when creating context if the user needs to login first.
# Variables
ErrAlreadyExists is returned when an object already exists.
ErrCanceled is returned when the command was canceled by user.
ErrForbidden is returned when an operation is not permitted.
ErrLoginFailed is returned when login failed.
ErrLoginRequired is returned when login is required for a specific action.
ErrNotFound is returned when an object is not found.
ErrNotImplemented is returned when a backend doesn't implement an action.
ErrParsingFailed is returned when a string cannot be parsed.
ErrUnknown is returned when the error type is unmapped.
ErrWrongContextType is returned when the caller tries to get a context with the wrong type.