internal RepeatedOptionError(NameInfo nameInfo) : base(ErrorType.RepeatedOptionError, nameInfo) { }
internal SetValueExceptionError(NameInfo nameInfo, Exception exception, object value) : base(ErrorType.SetValueExceptionError, nameInfo) { this.exception = exception; this.value = value; }
internal BadFormatConversionError(NameInfo nameInfo) : base(ErrorType.BadFormatConversionError, nameInfo) { }
internal SequenceOutOfRangeError(NameInfo nameInfo) : base(ErrorType.SequenceOutOfRangeError, nameInfo) { }
internal MutuallyExclusiveSetError(NameInfo nameInfo, string setName) : base(ErrorType.MutuallyExclusiveSetError, nameInfo) { this.setName = setName; }
internal MissingRequiredOptionError(NameInfo nameInfo) : base(ErrorType.MissingRequiredOptionError, nameInfo) { }
internal MissingValueOptionError(NameInfo nameInfo) : base(ErrorType.MissingValueOptionError, nameInfo) { }
/// <summary> /// Initializes a new instance of the <see cref="CommandLine.NamedError"/> class. /// </summary> /// <param name="tag">Error type.</param> /// <param name="nameInfo">Problematic name.</param> protected internal NamedError(ErrorType tag, NameInfo nameInfo) : base(tag) { this.nameInfo = nameInfo; }
internal MutuallyExclusiveSetError(NameInfo nameInfo) : base(ErrorType.MutuallyExclusiveSetError, nameInfo) { }