debian-mirror-gitlab/lib/gitlab/error_tracking/error_event.rb

18 lines
440 B
Ruby
Raw Normal View History

2019-12-26 22:10:19 +05:30
# frozen_string_literal: true
2021-04-17 20:07:23 +05:30
# This should be in the ErrorTracking namespace. For more details, see:
# https://gitlab.com/gitlab-org/gitlab/-/issues/323342
2019-12-26 22:10:19 +05:30
module Gitlab
module ErrorTracking
class ErrorEvent
include ActiveModel::Model
2020-03-13 15:44:24 +05:30
attr_accessor :issue_id, :date_received, :stack_trace_entries, :gitlab_project
def self.declarative_policy_class
'ErrorTracking::BasePolicy'
end
2019-12-26 22:10:19 +05:30
end
end
end