2019-11-08 16:06:38 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-03-04 10:11:19 -05:00
|
|
|
# This should be in the ErrorTracking namespace. For more details, see:
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/323342
|
2019-11-08 16:06:38 -05:00
|
|
|
module Gitlab
|
|
|
|
module ErrorTracking
|
|
|
|
class ErrorEvent
|
|
|
|
include ActiveModel::Model
|
|
|
|
|
2020-01-31 16:08:52 -05:00
|
|
|
attr_accessor :issue_id, :date_received, :stack_trace_entries, :gitlab_project
|
|
|
|
|
|
|
|
def self.declarative_policy_class
|
|
|
|
'ErrorTracking::BasePolicy'
|
|
|
|
end
|
2019-11-08 16:06:38 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|