distinguis `netERR_CONNECTION_TIMED_OUT` from `netERR_CERT_AUTHORITY_INVALID`
i get
net::ERR_CERT_AUTHORITY_INVALID
because i use self signed certs on the domain localhost
now i want to check if the net::ERR_CERT_AUTHORITY_INVALID
occurs, and if so the user should receive a message, but how can i distingish form other network errors like if the server is down fetch would throw a net::ERR_CONNECTION_REFUSED
when i catch the fetch error , all i get is:
0 Replies