45 lines
1.4 KiB
Ruby
45 lines
1.4 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
# This should be in the ErrorTracking namespace. For more details, see:
|
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/323342
|
|
module Gitlab
|
|
module ErrorTracking
|
|
class DetailedError
|
|
include ActiveModel::Model
|
|
include GlobalID::Identification
|
|
|
|
attr_accessor :count,
|
|
:culprit,
|
|
:external_base_url,
|
|
:external_url,
|
|
:first_release_last_commit,
|
|
:first_release_short_version,
|
|
:first_release_version,
|
|
:first_seen,
|
|
:frequency,
|
|
:gitlab_commit,
|
|
:gitlab_commit_path,
|
|
:gitlab_issue,
|
|
:gitlab_project,
|
|
:id,
|
|
:last_release_last_commit,
|
|
:last_release_short_version,
|
|
:last_release_version,
|
|
:last_seen,
|
|
:message,
|
|
:project_id,
|
|
:project_name,
|
|
:project_slug,
|
|
:short_id,
|
|
:status,
|
|
:tags,
|
|
:title,
|
|
:type,
|
|
:user_count
|
|
|
|
def self.declarative_policy_class
|
|
'ErrorTracking::BasePolicy'
|
|
end
|
|
end
|
|
end
|
|
end
|