Instance Propertyswift-argument-parser 1.6.1ArgumentParser
description
Errors.swift:25var description: String { get }
var description: String { get }
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
struct ValidationError
An error type that is presented to the user as an error with parsing their command-line input.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ message: String)
Creates a new validation error with the given message.
var message: String { get }
The error message represented by this instance, this string is presented to the user when a ValidationError
is thrown from either; run()
, validate()
or a transform closure.