AggregateError
Namespace: Bogoware.Monads
An error that aggregates multiple errors.
public class AggregateError : ErrorInheritance Object → Error → AggregateError
Attributes NullableContextAttribute, NullableAttribute
Properties
Errors
The errors that were aggregated.
public IEnumerable<Error> Errors { get; }Property Value
Message
public string Message { get; }Property Value
Constructors
AggregateError(String, IEnumerable<Error>)
Initializes a new instance of the AggregateError class.
public AggregateError(string message, IEnumerable<Error> innerErrors)Parameters
message String
The error message
innerErrors IEnumerable<Error>
The inner errors
AggregateError(String, Error, Error, Error[])
public AggregateError(string message, Error first, Error second, Error[] others)Parameters
message String
first Error
second Error
others Error[]
AggregateError(IEnumerable<Error>)
public AggregateError(IEnumerable<Error> innerErrors)Parameters
innerErrors IEnumerable<Error>
AggregateError(Error, Error, Error[])
public AggregateError(Error first, Error second, Error[] others)Parameters
first Error
second Error
others Error[]