fix them again

This commit is contained in:
bluepilledgreat 2024-10-20 19:04:12 +01:00
parent f7da913fe8
commit 91a3a58d21

View File

@ -110,7 +110,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
T? parsed = ConvertValue<T>(attribute.Value); T? parsed = ConvertValue<T>(attribute.Value);
if (parsed == null) if (parsed == null)
throw new Exception($"{element.Name} {attribute} is not a valid {typeof(T).Name}"); throw new Exception($"{element.Name} {attributeName} is not a valid {typeof(T).Name}");
return (T)parsed; return (T)parsed;
} }
@ -127,7 +127,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
T? parsed = ConvertValue<T>(attribute.Value); T? parsed = ConvertValue<T>(attribute.Value);
if (parsed == null) if (parsed == null)
throw new Exception($"{element.Name} {attribute} is not a valid {typeof(T).Name}"); throw new Exception($"{element.Name} {attributeName} is not a valid {typeof(T).Name}");
return (T)parsed; return (T)parsed;
} }