Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. var exceptions = ErrorCollectionExtension.GetErrorsAsExceptions(compiler.Errors);
  2. throw new AggregateException("Error", exceptions);
  3.  
  4. public MyException(string message, IEnumerable<Exception> innerExceptions)
  5. : base(message, innerExceptions)
  6. {
  7.  
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement