def fragment_on_non_composite_error(frag_name, type_name, line, column):
    return {
        'message':
        FragmentsOnCompositeTypes.fragment_on_non_composite_error_message(
            frag_name, type_name),
        'locations': [SourceLocation(line, column)]
    }
def fragment_on_non_composite_error(frag_name, type_name, line, column):
    return {
        'message': FragmentsOnCompositeTypes.fragment_on_non_composite_error_message(frag_name, type_name),
        'locations': [SourceLocation(line, column)]
    }