﻿using System;

namespace Reinforcement
{
  public static class ExceptionExtension
  {
    public static T AddData<T>(this T exception, object key, object value) where T : Exception
    {
      exception.Data.Add(key, value);
      return exception;
    }
  }
}