-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDefaultArgumentParserFailure.cs
More file actions
33 lines (29 loc) · 1.04 KB
/
DefaultArgumentParserFailure.cs
File metadata and controls
33 lines (29 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Ultz.Extensions.Commands.Parsing.ArgumentParsers.Default
{
/// <summary>
/// Represents the reason why the argument parsing failed.
/// </summary>
public enum DefaultArgumentParserFailure
{
/// <summary>
/// The <see cref="DefaultArgumentParser" /> was not able to find a matching closing quote.
/// </summary>
UnclosedQuote,
/// <summary>
/// The <see cref="DefaultArgumentParser" /> encountered an unexpected quote.
/// </summary>
UnexpectedQuote,
/// <summary>
/// The <see cref="DefaultArgumentParser" /> was unable to parse some arguments as there was no whitespace between them.
/// </summary>
NoWhitespaceBetweenArguments,
/// <summary>
/// The <see cref="DefaultArgumentParser" /> found too few arguments.
/// </summary>
TooFewArguments,
/// <summary>
/// The <see cref="DefaultArgumentParser" /> found too many arguments.
/// </summary>
TooManyArguments
}
}