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