def send_stream_error(self, condition):
with self.lock:<EOL><INDENT>self._send_stream_error(condition)<EOL><DEDENT>
Send stream error element.

        :Parameters:
            - `condition`: stream error condition name, as defined in the
              XMPP specification.