/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Internals/Extensions/ExceptionExtensions.cs
18 строк
469 B
Chris Patterson
Integration of all external packages into MassTransit, split out into Abstractions, Middleware, and the core MassTransit assembly.
22 янв 2022, 18:24
22 янв 2022, 18:24
b5b4f50
Код
Авторство
О чём код?
namespace MassTransit.Internals { using System; using System.Runtime.ExceptionServices; public static class ExceptionExtensions { /// <summary> /// Rethrow the exception with the call stack of the original exception /// </summary> /// <param name="exception"></param> public static void Rethrow(this Exception exception) { ExceptionDispatchInfo.Capture(exception).Throw(); } } }