Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
optimist
0.1.0
Optimist
BoolOpt
CommandlineError
ConflictConstraint
DependConstraint
FileOpt
Float64ArrayOpt
Float64Opt
GivenArg
HelpNeeded
Int32ArrayOpt
Int32Opt
LongNames
Option
OrderedOpt
OrderedText
OrderedType
Parser
ShortNames
StringArrayOpt
StringFlagOpt
StringOpt
SystemExit
VersionNeeded
Built with Crystal 1.9.2
2023-10-07 18:27:03 UTC
class
Optimist::CommandlineError
Optimist::CommandlineError
Exception
Reference
Object
Overview
Thrown by Parser in the event of a commandline error. Not needed if
you're using the Optimist::options entry.
Defined in:
optimist/errors.cr
Constructors
.new
(msg, error_code : Int32 | Nil =
nil
)
Instance Method Summary
#error_code
: Int32?
Constructor Detail
def self.
new
(msg, error_code : Int32 | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
error_code
: Int32?
#
[
View source
]