gitlab-org--gitlab-foss/lib/gitlab/graphql/errors.rb

13 lines
327 B
Ruby

# 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)
LimitError = Class.new(BaseError)
end
end
end