CommandError
An error that occurs when running a command.
enum CommandError
Inspecting the setting
case commandFailed(rc: Int32, errmsg: String)
Failure due to a command failing.
case missingSSHAccessCredentials(msg: String)
Failure due to missing SSH access credentials.
case failedToResolveHost(name: String)
Failure due to inability to resolve a host.
case noOutputToParse(msg: String)
Failure due to no output to parse.
case invalidCommand(msg: String)
Failure due to an invalid command.
case timeoutExceeded(cmd: (any Command))
Failure due to a command timeout exceeding.
case noOutputFromCommand(cmd: (any Command))
Failure due to no output from a command
Getting the localized error message
var errorDescription: String?
The localized description.