Set generic_type equivalent to GenericType
Raise appropriate error if __all__ is not a list
Raise appropriate error if __all__ contains non-string literal