summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/errors.rb
blob: 40b90310e8bc2fe2146630f1cb834361f06213cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Gitlab
  module Graphql
    module Errors
      BaseError = Class.new(GraphQL::ExecutionError)
      ArgumentError = Class.new(BaseError)
      ResourceNotAvailable = Class.new(BaseError)
      MutationError = Class.new(BaseError)
    end
  end
end