public CommandChainExecutionException(Exception innerException, CommandRevertException revertException)
     : base(innerException)
 {
     RevertException = revertException;
 }
Esempio n. 2
0
 public virtual CommandChainExecutionException WithRevertException(CommandRevertException revertException)
 {
     return(new CommandChainExecutionException(InnerException, revertException));
 }
 public override CommandChainExecutionException WithRevertException(CommandRevertException revertException)
 {
     return(new CommandChainExecutionException(InnerException, RevertException.Collapse(revertException)));
 }
Esempio n. 4
0
 public CommandRevertException Collapse(CommandRevertException revertException)
 {
     return(new CommandRevertException(InnerExceptions.Concat(revertException.InnerExceptions)));
 }