Enumeration Caseheckj.formic 0.3.0Formic
commandFailed(rc:errmsg:)
Failure due to a command failing.
case commandFailed(rc: Int32, errmsg: String)
Failure due to a command failing.
case commandFailed(rc: Int32, errmsg: String)
s6Formic12CommandErrorO13commandFailedyACs5Int32V_SStcACmF
What are these?215WH
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
enum CommandError
An error that occurs when running a command.
@frozen struct Int32
A 32-bit signed integer value type.
@frozen struct String
A Unicode string value that is a collection of characters.
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
case localUnsupported(msg: String)
Failure due to using a remote command with a local host.