public static HftApiException AddField(this HftApiException exception, string fieldName) { exception.Fields.Add(fieldName, exception.Message); return(exception); }