debian-mirror-gitlab/lib/gitlab/metrics/dashboard/transformers/errors.rb
2020-11-24 15:15:51 +05:30

19 lines
411 B
Ruby

# 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