public static async Task <Result <T, E> > ToResult <T, E>(this Task <Maybe <T> > maybeTask, E error) where T : class
        {
            Maybe <T> maybe = await maybeTask.DefaultAwait();

            return(maybe.ToResult(error));
        }