summaryrefslogtreecommitdiff
path: root/lib/gitlab/error_tracking/error_event.rb
blob: 015d2c0ead0bda76bd9cad34445b3237b794ebbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

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