debian-mirror-gitlab/lib/gitlab/graphql/errors.rb
2019-09-30 21:07:59 +05:30

12 lines
287 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)
end
end
end