If there is a TLS error we cast it to TLS specific errors
|
func handleTLSRecordHeader(_ *http.Request, err error) (code int, msg, label string) { |
The TLS errors contain more information that we provide.
It would be super useful in debugging if we provided all the information like the certificate chain that failed etc.