debian-mirror-gitlab/lib/gitlab/graphql/errors.rb
2022-10-11 01:57:18 +05:30

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