3bcb04f100
This is mainly the setup of mutations for GraphQL. Including authorization and basic return type-structure.
9 lines
213 B
Ruby
9 lines
213 B
Ruby
module Gitlab
|
|
module Graphql
|
|
module Errors
|
|
BaseError = Class.new(GraphQL::ExecutionError)
|
|
ArgumentError = Class.new(BaseError)
|
|
ResourceNotAvailable = Class.new(BaseError)
|
|
end
|
|
end
|
|
end
|