def get_description(cls, value):
    """
        Get description from value.
        """
    try:
        return cls._descriptions[value]
    except KeyError:
        raise ValueError('not a member of enumeration: %r' % value)
