isTlsValidationFailed property

bool get isTlsValidationFailed

Returns true if standard TLS validation failed.

This error occurs when the certificate fails standard TLS validation (CA chain, expiry, hostname verification, etc.) before TrustPin verification.

Implementation

bool get isTlsValidationFailed => code == 'TLS_VALIDATION_FAILED';