summaryrefslogtreecommitdiff
path: root/lib/gitlab/error_tracking/error.rb
blob: 6bfb9dae610dcadd78472814800febc108919b8c (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 Gitlab
  module ErrorTracking
    class Error
      include ActiveModel::Model
      include GlobalID::Identification

      attr_accessor :id, :title, :type, :user_count, :count,
        :first_seen, :last_seen, :message, :culprit,
        :external_url, :project_id, :project_name, :project_slug,
        :short_id, :status, :frequency

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