We don't seem to have a good set of exceptions that mean some of the things we would want to report back to the user. We should consider either - reading additional docs and then determining which of the built ins is most appropriate for our use case. Came up in #7
if
public CommandBuilder(string name)
{
if (string.IsNullOrWhiteSpace(name))
throw new ArgumentException("parameter cannot be null or whitespace", nameof(name));
Should be an "ArgumentException" and "ArgumentOutOfRangeException" or a "FormatException". I'm sure this will come up more often so we should maybe just get it sorted sooner rather than later
We don't seem to have a good set of exceptions that mean some of the things we would want to report back to the user. We should consider either - reading additional docs and then determining which of the built ins is most appropriate for our use case. Came up in #7
if
Should be an "ArgumentException" and "ArgumentOutOfRangeException" or a "FormatException". I'm sure this will come up more often so we should maybe just get it sorted sooner rather than later