context.Status=newStatus(StatusCode.Unauthenticated,"",newDebugErrorException("this DebugErrorString value should not be transmitted to the client"));
context.Status=newStatus(StatusCode.Unauthenticated,"",newCoreErrorDetailException("this DebugErrorString value should not be transmitted to the client"));
StringAssert.Contains("Error received from peer",ex.Status.DebugErrorException.Message,"Is \"Error received from peer\" still a valid substring to search for in the client-generated error message from C-core?");
StringAssert.Contains("Error received from peer",ex.Status.DebugException.Message,"Is \"Error received from peer\" still a valid substring to search for in the client-generated error message from C-core?");
StringAssert.Contains("Error received from peer",ex2.Status.DebugErrorException.Message,"Is \"Error received from peer\" still a valid substring to search for in the client-generated error message from C-core?");
StringAssert.Contains("Error received from peer",ex2.Status.DebugException.Message,"Is \"Error received from peer\" still a valid substring to search for in the client-generated error message from C-core?");