code: def create_error_response(self, in_response_to, destination, info,
                                sign=False, issuer=None, sign_alg=None,
                                digest_alg=None, **kwargs):
          
          status = error_status_factory(info)
  
          return self._response(in_response_to, destination, status, issuer,
                                sign, sign_alg=sign_alg, digest_alg=digest_alg)
docs: Create a error response.
  
          :param in_response_to: The identifier of the message this is a response
              to.
          :param destination: The intended recipient of this message
          :param info: Either an Exception instance or a 2-tuple consisting of
              error code and descriptive text
          :param sign: Whether the response should be signed or not
          :param issuer: The issuer of the response
          :param kwargs: To capture key,value pairs I don't care about
          :return: A response instance