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

13 lines
287 B
Ruby
Raw Normal View History

# 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