Merge changes from topics "halo-split", "to-err" into main

* changes:
  Split the isAppFunctionEnabled method into two overloads
  Add Error categories for AppFunction exe response