debian-mirror-gitlab/lib/gitlab/graphql/errors.rb

14 lines
327 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
module Gitlab
module Graphql
module Errors
BaseError = Class.new(GraphQL::ExecutionError)
ArgumentError = Class.new(BaseError)
2018-11-18 11:00:15 +05:30
ResourceNotAvailable = Class.new(BaseError)
2019-09-30 21:07:59 +05:30
MutationError = Class.new(BaseError)
2022-10-11 01:57:18 +05:30
LimitError = Class.new(BaseError)
2018-11-08 19:23:39 +05:30
end
end
end