Class CurlSslException
- Namespace
- CurlDotNet.Exceptions
- Assembly
- CurlDotNet.dll
Thrown when SSL/TLS certificate validation fails
public class CurlSslException : CurlException, ISerializable
- Inheritance
-
CurlSslException
- Implements
- Derived
- Inherited Members
Constructors
CurlSslException(string, string?, string?)
Initializes a new instance of CurlSslException.
public CurlSslException(string message, string? certError = null, string? command = null)
Parameters
messagestringThe error message.
certErrorstringDetails about the certificate error.
commandstringThe curl command that failed.
Properties
CertificateError
Details about the certificate error that occurred.
public string? CertificateError { get; }