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