{"modulePath":"github.com/OctopusDeploy/cli","version":"v1.7.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Types\n\n```go\ntype ArgumentNullOrEmptyError struct{ ArgumentName string }\n```\nArgumentNullOrEmptyError is a utility error indicating that a required parameter was null or blank. This is not a recoverable error; if you observe one this indicates a bug in the code.\n\n```go\nfunc NewArgumentNullOrEmptyError(argumentName string) *ArgumentNullOrEmptyError\n```\n\n```go\nfunc (e *ArgumentNullOrEmptyError) Error() string\n```\n\n```go\ntype InvalidResponseError struct{ Message string }\n```\nInvalidResponseError is a utility error that means the CLI couldn't deal with a response from the server. this may represent a bug (missing code path) in the CLI, a bug in the server (wrong response), or a change in server behaviour over time.\n\n```go\nfunc NewInvalidResponseError(message string) *InvalidResponseError\n```\n\n```go\nfunc (e *InvalidResponseError) Error() string\n```\n\n```go\ntype OsEnvironmentError struct{ EnvironmentVariable string }\n```\nOsEnvironmentError is raised when the CLI cannot launch because a required environment variable is not set\n\n```go\nfunc (e *OsEnvironmentError) Error() string\n```\n\n```go\ntype PromptDisabledError struct{}\n```\nPromptDisabledError is a fallback error if code attempts to prompt the user when prompting is disabled. If you see it, it represents a bug because Commands should check IsInteractive before attempting to prompt\n\n```go\nfunc (e *PromptDisabledError) Error() string\n```\n\n","path":"github.com/OctopusDeploy/cli/pkg/errors","name":"errors","synopsis":"","isRedistributable":true}
