Essentially I'm looking to throw an error / return an error so that when I execute an Azure Function in Unity using ExecuteFunction method, I get a return to the errorCallback with a custom error message.
It looks like the way to normally do this is by returning a BadObjectResult object in Azure Functions. While that does indeed execute the errorCallback function I'm not sure how to return any meaninful error message or data using that method.
It also looks like this question may have already been asked, but I don't think the answer really addresses the issue. See here.
Thanks in advance!