debian-mirror-gitlab/app/serializers/error_tracking/error_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
352 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
module ErrorTracking
class ErrorEntity < Grape::Entity
2022-08-13 15:12:31 +05:30
expose :id do |error|
error.id.to_s
end
expose :title, :type, :user_count, :count,
2019-02-15 15:39:39 +05:30
:first_seen, :last_seen, :message, :culprit,
:external_url, :project_id, :project_name, :project_slug,
:short_id, :status, :frequency
end
end