Welcome to mirror list, hosted at ThFree Co, Russian Federation.

errors.rb « transformers « dashboard « metrics « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4d94ab098ae657f22f1cad10bd27c36aec9b9dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Gitlab
  module Metrics
    module Dashboard
      module Transformers
        TransformerError = Class.new(StandardError)

        module Errors
          class MissingAttribute < TransformerError
            def initialize(attribute_name)
              super("Missing attribute: '#{attribute_name}'")
            end
          end
        end
      end
    end
  end
end