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

detailed_error.rb « error_tracking « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d0b3fc176aa8900dc7bb4dc42fc008abac64695d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# frozen_string_literal: true

# This should be in the ErrorTracking namespace. For more details, see:
# https://gitlab.com/gitlab-org/gitlab/-/issues/323342
module Gitlab
  module ErrorTracking
    class DetailedError
      include ActiveModel::Model
      include GlobalID::Identification

      attr_accessor :count,
                    :culprit,
                    :external_base_url,
                    :external_url,
                    :first_release_last_commit,
                    :first_release_short_version,
                    :first_release_version,
                    :first_seen,
                    :frequency,
                    :gitlab_commit,
                    :gitlab_commit_path,
                    :gitlab_issue,
                    :gitlab_project,
                    :id,
                    :last_release_last_commit,
                    :last_release_short_version,
                    :last_release_version,
                    :last_seen,
                    :message,
                    :project_id,
                    :project_name,
                    :project_slug,
                    :short_id,
                    :status,
                    :tags,
                    :title,
                    :type,
                    :user_count

      def self.declarative_policy_class
        'ErrorTracking::BasePolicy'
      end
    end
  end
end