ParserError
public enum ParserError : Error, LocalizedError
Errors that could happen during parsing parameters.
-
Your command does not start with
curl
.Declaration
Swift
case invalidBegin
-
No URL given.
Declaration
Swift
case noURL
-
The format of the URL is invalid.
Declaration
Swift
case invalidURL(String)
-
No such option.
Declaration
Swift
case noSuchOption(String)
-
The given paramater is invalid.
Declaration
Swift
case inValidParameter(String)
-
Other syntax error.
Declaration
Swift
case otherSyntaxError
-
Declaration
Swift
public var errorDescription: String? { get }