CliOptException class

Base exception class for command-line options parsing

Implemented types
Implementers

Constructors

CliOptException([String name = '', List? values])
Exception's constructor: mandatory option name and the list of values if relevant

Properties

description String
Free text explaining what is this exception about
no setter
descriptionForArg String
Explanation for a plain argument
no setter
descriptionForOpt String
Explanation for an option
no setter
details String
Option name and values stringized
latefinal
hashCode int
The hash code for this object.
no setterinherited
name String
Option name
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List?
Option values
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
An override of the default toString() showing explanation and data
override

Operators

operator ==(Object other) bool
The equality operator.
inherited