2019-11-08 16:06:38 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
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
|