def _raise_closed(self):
if self._local_closed:<EOL><INDENT>raise TLSDisconnectError('<STR_LIT>')<EOL><DEDENT>elif self._gracefully_closed:<EOL><INDENT>raise TLSGracefulDisconnectError('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>raise TLSDisconnectError('<STR_LIT>')<EOL><DEDENT>
Raises an exception describing if the local or remote end closed the
connection