so client accesses the server, but if an error occurs im trying to return the error message 'No Client access exists's'...was using the httpStatusCodeResult but it just returns 'The remote server returned an error: (404) Not Found.' I need the actual error msg aswell.
any ideas?
public ActionResult GetPLUAndDeptInfo(string authCode)
{
try
{
ClientAccount client = GetClientAccount(authCode);
if (client == null)
{
return new HttpStatusCodeResult(404, "Error in cloud - GetPLUAndDeptInfo - No Client Account exists");
}