generate supported formats in ValueError