gitlab-org--gitlab-foss/lib/gitlab/error_tracking/detailed_error.rb

42 lines
1.2 KiB
Ruby
Raw Normal View History

# 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_release_version,
:first_seen,
:frequency,
:gitlab_commit,
:gitlab_issue,
:gitlab_project,
:id,
:last_release_last_commit,
:last_release_short_version,
:last_seen,
:message,
:project_id,
:project_name,
:project_slug,
:short_id,
:status,
:tags,
:title,
:type,
:user_count
def self.declarative_policy_class
'ErrorTracking::DetailedErrorPolicy'
end
end
end
end