2019-11-08 21:06:38 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module ErrorTracking
|
|
|
|
class DetailedError
|
|
|
|
include ActiveModel::Model
|
2019-12-06 09:06:39 +00:00
|
|
|
include GlobalID::Identification
|
2019-11-08 21:06:38 +00:00
|
|
|
|
|
|
|
attr_accessor :count,
|
|
|
|
:culprit,
|
|
|
|
:external_base_url,
|
|
|
|
:external_url,
|
|
|
|
:first_release_last_commit,
|
|
|
|
:first_release_short_version,
|
2020-01-10 18:07:43 +00:00
|
|
|
:first_release_version,
|
2019-11-08 21:06:38 +00:00
|
|
|
:first_seen,
|
|
|
|
:frequency,
|
2020-01-10 18:07:43 +00:00
|
|
|
:gitlab_commit,
|
2020-01-16 09:08:46 +00:00
|
|
|
:gitlab_commit_path,
|
2019-12-10 12:07:55 +00:00
|
|
|
:gitlab_issue,
|
2020-01-10 18:07:43 +00:00
|
|
|
:gitlab_project,
|
2019-11-08 21:06:38 +00:00
|
|
|
:id,
|
|
|
|
:last_release_last_commit,
|
|
|
|
:last_release_short_version,
|
2020-07-02 15:09:08 +00:00
|
|
|
:last_release_version,
|
2019-11-08 21:06:38 +00:00
|
|
|
:last_seen,
|
|
|
|
:message,
|
|
|
|
:project_id,
|
|
|
|
:project_name,
|
|
|
|
:project_slug,
|
|
|
|
:short_id,
|
|
|
|
:status,
|
2019-12-20 15:07:34 +00:00
|
|
|
:tags,
|
2019-11-08 21:06:38 +00:00
|
|
|
:title,
|
|
|
|
:type,
|
|
|
|
:user_count
|
2019-12-06 09:06:39 +00:00
|
|
|
|
|
|
|
def self.declarative_policy_class
|
2020-01-29 12:09:08 +00:00
|
|
|
'ErrorTracking::BasePolicy'
|
2019-12-06 09:06:39 +00:00
|
|
|
end
|
2019-11-08 21:06:38 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|