getopt.net
A port of getopt in pure C#.
|
Generic exception class that is thrown when the parser is not configured to ignore errors. More...
Public Member Functions | |
ParseException (string msg) | |
Generic exception constructor; only accepts the error message. | |
ParseException (string? optString, string msg) | |
Specialsied exception constructor; accepts the option causing the error and an accompanying message. | |
override string | ToString () |
Properties | |
string? | Option [get, set] |
The option that caused the exception. | |
Generic exception class that is thrown when the parser is not configured to ignore errors.
This exception may be thrown whenever one of the following options is disabled:
Definition at line 14 of file ParseException.cs.
|
inline |
Generic exception constructor; only accepts the error message.
msg | A brief description of the error. |
Definition at line 20 of file ParseException.cs.
|
inline |
Specialsied exception constructor; accepts the option causing the error and an accompanying message.
optString | The option that caused the exception. |
msg | A brief description of the error. |
Definition at line 27 of file ParseException.cs.
|
inline |
Definition at line 32 of file ParseException.cs.
|
getset |
The option that caused the exception.
Definition at line 42 of file ParseException.cs.