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
if(parameters.Length!=2||parameters[1]is not string)
442
442
{
443
-
thrownewHandlebarsException("The {{lookupExtension}} helper expects two arguments: a List<Extension> and a string lookup key");
443
+
thrownewHandlebarsException("An issue was encountered. The {{hasClassification}} helper expects two arguments: a List<DataClassification> and a string lookup key.");
// Else block, no classification with the input name has been found.
472
+
options.Inverse(output,context);
473
+
}
474
+
}
454
475
}
455
-
catch(Exceptionexception)
476
+
catch(Exceptionex)
477
+
{
478
+
thrownewHandlebarsException($"The {{{{hasClassification}}}} function encountered an error. The list of classifications provided as the first argument could not be deserialized. The reported error is: '{ex.Message}'.");
479
+
}
480
+
});
481
+
482
+
// Block helper that evalues is a certain string exists in a list of string values.
thrownewHandlebarsException($"{{lookupExtension}} encountered an error: the list of extensions provided as the first argument could not be deserialized. The reported error is :{exception.Message}");
535
+
thrownewHandlebarsException($"The {{{{hasStringValue}}}} function encountered an error. The list of strings provided as the first argument could not be deserialized. The reported error is: '{ex.Message}'.");
0 commit comments