Compono.CompositionConfigurationException.CompositionConfigurationException(System.Collections.Generic.IReadOnlyList Compono.CompositionConfigurationError )
Compono¶
Compono.CompositionConfigurationException¶
CompositionConfigurationException(IReadOnlyList\<CompositionConfigurationError>) Constructor¶
Creates a CompositionConfigurationException from one or more structured errors. Its System.Exception.Message is rendered from errors, not the other way around - inspect Errors directly rather than parsing the message.
public CompositionConfigurationException(System.Collections.Generic.IReadOnlyList<Compono.CompositionConfigurationError> errors);
Parameters¶
errors System.Collections.Generic.IReadOnlyList<CompositionConfigurationError>
Every conflict found. Copied into an immutable snapshot - mutating a list passed here after this constructor returns has no effect on Errors.
Exceptions¶
System.ArgumentNullException
errors is null.
System.ArgumentException
errors is empty.