Fix Tls_Error() function signature