summaryrefslogtreecommitdiff
path: root/FireBase/Extensions/TaskExtensions.cs
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-06-11 23:38:13 +0200
committerDennis Kobert <d-kobert@web.de>2019-06-11 23:38:13 +0200
commit2fa4a0e50ebfc97059c8b84dbd17e79f9afc8a8d (patch)
treec3b34ccb2737e347a73768536895cbbaab13cc01 /FireBase/Extensions/TaskExtensions.cs
parentec991104f56e90d7bb2878da2fe6ed4e585dfc46 (diff)
parentaf74efccf8d21e6151022b71f3cacd3fa83024ee (diff)
Merge branch 'rework-backend'
Diffstat (limited to 'FireBase/Extensions/TaskExtensions.cs')
-rw-r--r--FireBase/Extensions/TaskExtensions.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/FireBase/Extensions/TaskExtensions.cs b/FireBase/Extensions/TaskExtensions.cs
deleted file mode 100644
index 26bbde6..0000000
--- a/FireBase/Extensions/TaskExtensions.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-namespace Firebase.Database.Extensions
-{
- using System;
- using System.Threading.Tasks;
-
- public static class TaskExtensions
- {
- /// <summary>
- /// Instead of unwrapping <see cref="AggregateException"/> it throws it as it is.
- /// </summary>
- public static async Task WithAggregateException(this Task source)
- {
- try
- {
- await source.ConfigureAwait(false);
- }
- catch (Exception ex)
- {
- throw source.Exception ?? ex;
- }
- }
- }
-}