Based on #137198 (comment), we should refactor _setSSLError as the errcode argument is redundant. In addition, we should:
Change _ssl__SSLContext_set_ciphers_impl to use _setSSLError as in _ssl__SSLContext_set_ciphersuites_impl.
If possible, ease the use of _setSSLError.
If possible, ease how we indicate that a functionality is not implemented and document which exception is being actually raised (this needs to be synchronized with Improve documentation of SSL module #138633).
Activity