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