You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DataWarehouseAutomation/DataWarehouseAutomation/Utils/HandleBarsHelpers.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -399,7 +399,7 @@ public static void RegisterHandleBarsHelpers()
399
399
// Check if the parameters are valid.
400
400
if(parameters.Length!=2||parameters[1]is not string)
401
401
{
402
-
thrownewHandlebarsException("{{hasClassification}} helper expects two arguments: a List<DataClassification> and a string lookup key");
402
+
thrownewHandlebarsException("An issues was encountered. The {{hasClassification}} helper expects two arguments: a List<DataClassification> and a string lookup key.");
403
403
}
404
404
405
405
try
@@ -430,7 +430,7 @@ public static void RegisterHandleBarsHelpers()
430
430
}
431
431
catch(Exceptionexception)
432
432
{
433
-
thrownewHandlebarsException($"{{hasClassification}} encountered an error: the list of classifications provided as the first argument could not be deserialized. The reported error is :{exception.Message}");
433
+
thrownewHandlebarsException($"The {{hasClassification}} function encountered an error: the list of classifications provided as the first argument could not be deserialized. The reported error is :{exception.Message}");
434
434
}
435
435
});
436
436
@@ -440,7 +440,7 @@ public static void RegisterHandleBarsHelpers()
440
440
// Check if the parameters are valid.
441
441
if(parameters.Length!=2||parameters[1]is not string)
442
442
{
443
-
thrownewHandlebarsException("{{lookupExtension}} helper expects two arguments: a List<Extension> and a string lookup key");
443
+
thrownewHandlebarsException("The {{lookupExtension}} helper expects two arguments: a List<Extension> and a string lookup key");
0 commit comments