@staticmethod
def get_alexa_error(data):
    """Gets the error message from the Alexa API response.

        Args:
            data: Response received from the Alexa API .

        Returns:
            A string representing the value of message, or ``None`` if no error message was received.

        """
    if 'request' in data and 'err' in data['request'] and 'message' in data[
        'request']['err']:
        return data['request']['err']['message']
    else:
        return None
