You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: create.rb
    path of file: ./repos/gitlabhq/app/graphql/mutations/admin/abuse_report_labels
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Mutations
  module Admin
    module AbuseReportLabels
      class Create < BaseMut
    
        def resolve(args)
          raise_resource_not_available_error! unless current_user.can?(:admin_all_resources)

          label = ::Admin::AbuseReportLabels::CreateService.new(args).execute

          {
            label: label.persisted? ? label : nil,
            errors: errors_on_object(label)
          }
        end