Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var exceptions = ErrorCollectionExtension.GetErrorsAsExceptions(compiler.Errors);
- throw new AggregateException("Error", exceptions);
- public MyException(string message, IEnumerable<Exception> innerExceptions)
- : base(message, innerExceptions)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement