For a particular parameter, create an error message specifying that the parameter is not finite (i.e. not numeric and not NaN)
getFiniteErrorMessage(
  paramName,
  value = NULL,
  algoName = NULL,
  functionName = ""
)Name of parameter, e.g. lambda
The value of the non-finite parameter
Name of algorithm, e.g. AFF change detector
The name of the original function which is being called to check the parameters. Will help user with debugging.