38 lines
1.1 KiB
Ruby
38 lines
1.1 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
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_seen,
|
|
:frequency,
|
|
:gitlab_project,
|
|
:gitlab_issue,
|
|
:id,
|
|
:last_release_last_commit,
|
|
:last_release_short_version,
|
|
:last_seen,
|
|
:message,
|
|
:project_id,
|
|
:project_name,
|
|
:project_slug,
|
|
:short_id,
|
|
:status,
|
|
:title,
|
|
:type,
|
|
:user_count
|
|
|
|
def self.declarative_policy_class
|
|
'ErrorTracking::DetailedErrorPolicy'
|
|
end
|
|
end
|
|
end
|
|
end
|