Class CombineErrorExtensions
- Namespace
- FunctionalDdd
- Assembly
- FunctionalDdd.RailwayOrientedProgramming.dll
Combine errors into one. If both the errors types are ValidationError, the validation errors will be merged. Otherwise, the errors will be wrapped into an AggregateError.
public static class CombineErrorExtensions
- Inheritance
-
CombineErrorExtensions
- Inherited Members
Methods
Combine(Error?, Error)
Combine two errors into one. If both the errors types are ValidationError, the errors will be merged. Otherwise, the errors will be wrapped in an AggregateError.
public static Error Combine(this Error? thisError, Error otherError)