net::ERR_CERT_AUTHORITY_INVALID because i use self signed certs on the domain localhost 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