summaryrefslogtreecommitdiff
path: root/app/graphql/types/error_tracking/sentry_error_tags_type.rb
blob: e6d96571561ea58bd0422b588d2e19385317f321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Types
  module ErrorTracking
    # rubocop: disable Graphql/AuthorizeTypes
    class SentryErrorTagsType < ::Types::BaseObject
      graphql_name 'SentryErrorTags'
      description 'State of a Sentry error'

      field :level, GraphQL::STRING_TYPE,
        null: true,
        description: "Severity level of the Sentry Error"
      field :logger, GraphQL::STRING_TYPE,
        null: true,
        description: "Logger of the Sentry Error"
    end
    # rubocop: enable Graphql/AuthorizeTypes
  end
end