ParserError
public enum ParserError : Error, LocalizedError, Sendable
Errors that can occur while parsing parameters.
-
The command does not begin with
curl.Declaration
Swift
case invalidBegin -
A URL was not provided.
Declaration
Swift
case noURL -
The provided URL format is invalid.
Declaration
Swift
case invalidURL(String) -
The specified option is not supported.
Declaration
Swift
case noSuchOption(String) -
The provided parameter is invalid.
Declaration
Swift
case inValidParameter(String) -
Another syntax error occurred.
Declaration
Swift
case otherSyntaxError -
Declaration
Swift
public var errorDescription: String? { get }