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

error_event.rb « error_tracking « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d80289f6bc9bb6e3b1898a9eedae84b46871eb10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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 ErrorEvent
      include ActiveModel::Model

      attr_accessor :issue_id, :date_received, :stack_trace_entries, :gitlab_project

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