2018-11-09 13:39:43 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-06-26 12:31:05 -04:00
|
|
|
module Gitlab
|
|
|
|
module Graphql
|
|
|
|
module Errors
|
|
|
|
BaseError = Class.new(GraphQL::ExecutionError)
|
|
|
|
ArgumentError = Class.new(BaseError)
|
2018-07-10 10:19:45 -04:00
|
|
|
ResourceNotAvailable = Class.new(BaseError)
|
2019-06-21 00:45:27 -04:00
|
|
|
MutationError = Class.new(BaseError)
|
2018-06-26 12:31:05 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|