code: def create_response(
          self, data: dict = None, response: requests.Response = None, errors: list = None
      ) -> Response:
          
          status = FAILURE_STATUS if errors else SUCCESS_STATUS
          return Response(
              status=status,
              provider=self.name,
              data=data,
              response=response,
              errors=errors,
          )
docs: Helper function to generate a :class:`~notifiers.core.Response` object
  
          :param data: The data that was used to send the notification
          :param response: :class:`requests.Response` if exist
          :param errors: List of errors if relevant