OpenSSL.Core.OpenSslException.GetErrorMessage C# (CSharp) Méthode

GetErrorMessage() private static méthode

private static GetErrorMessage ( List context ) : string
context List
Résultat string
		private static string GetErrorMessage(List<OpenSslError> context)
		{
			StringBuilder sb = new StringBuilder();
			bool isFirst = true;
			foreach (OpenSslError err in context)
			{
				if (isFirst)
					isFirst = false;
				else
					sb.Append("\n");
				sb.Append(err.Message);
			}

			return sb.ToString();
		}