Skip to content

Commit 13c57f7

Browse files
committed
Update HandleBarsHelpers.cs
1 parent 90c5df0 commit 13c57f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DataWarehouseAutomation/DataWarehouseAutomation/Utils/HandleBarsHelpers.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public static void RegisterHandleBarsHelpers()
399399
// Check if the parameters are valid.
400400
if (parameters.Length != 2 || parameters[1] is not string)
401401
{
402-
throw new HandlebarsException("{{hasClassification}} helper expects two arguments: a List<DataClassification> and a string lookup key");
402+
throw new HandlebarsException("An issues was encountered. The {{hasClassification}} helper expects two arguments: a List<DataClassification> and a string lookup key.");
403403
}
404404

405405
try
@@ -430,7 +430,7 @@ public static void RegisterHandleBarsHelpers()
430430
}
431431
catch (Exception exception)
432432
{
433-
throw new HandlebarsException($"{{hasClassification}} encountered an error: the list of classifications provided as the first argument could not be deserialized. The reported error is :{exception.Message}");
433+
throw new HandlebarsException($"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}");
434434
}
435435
});
436436

@@ -440,7 +440,7 @@ public static void RegisterHandleBarsHelpers()
440440
// Check if the parameters are valid.
441441
if (parameters.Length != 2 || parameters[1] is not string)
442442
{
443-
throw new HandlebarsException("{{lookupExtension}} helper expects two arguments: a List<Extension> and a string lookup key");
443+
throw new HandlebarsException("The {{lookupExtension}} helper expects two arguments: a List<Extension> and a string lookup key");
444444
}
445445

446446
try

0 commit comments

Comments
 (0)