code: def _raise_error(self, *args, **kwargs):
          
          log.debug("_raise_error(): %s" % kwargs)
          try:
              error_code = str(kwargs['code'])
          except KeyError as e:
              raise FaultyPayloadError('_raise_error(): %s' % kwargs)
  
          try:
              raise self._code_handlers[error_code]()
          except KeyError:
              raise UnknownWSSError()
docs: Raises the proper exception for passed error code. These must then be
          handled by the layer calling _raise_error()