- Details exception for error of dynamic value of parameter
This commit is contained in:
Jakub Malek 2016-06-02 10:52:21 +02:00 committed by Jakub Malek
parent 0996f8c930
commit d201d6331c

View File

@ -93,6 +93,11 @@ namespace {{packageName}}.{{packageContext}}.Utils
"Expected type: '{2}' is not supported",
name, value, typeof(TValue)));
}
catch (Exception e)
{
throw new InvalidOperationException(string.Format("Could not get '{0}' value of '{1}' type dynamicly",
name, typeof(TValue)), e);
}
}
private static IDictionary<Type, Func<Parameter, object>> CreateParsers()