Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sentry_error_stack_trace_type.rb « error_tracking « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52959a9329b051b9136ab817707774683d8fc670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

module Types
  module ErrorTracking
    class SentryErrorStackTraceType < ::Types::BaseObject
      graphql_name 'SentryErrorStackTrace'
      description 'An object containing a stack trace entry for a Sentry error'

      authorize :read_sentry_issue

      field :issue_id, GraphQL::STRING_TYPE,
            null: false,
            description: 'ID of the Sentry error.'
      field :date_received, GraphQL::STRING_TYPE,
            null: false,
            description: 'Time the stack trace was received by Sentry.'
      field :stack_trace_entries, [Types::ErrorTracking::SentryErrorStackTraceEntryType],
            null: false,
            description: 'Stack trace entries for the Sentry error.'
    end
  end
end