Exception: UffizziCore::ClusterScaleError

Inherits:
StandardError
  • Object
show all
Defined in:
app/errors/uffizzi_core/cluster_scale_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(action) ⇒ ClusterScaleError

Returns a new instance of ClusterScaleError.



4
5
6
7
8
# File 'app/errors/uffizzi_core/cluster_scale_error.rb', line 4

def initialize(action)
  message = I18n.t('cluster.scaling_failed', action: action)

  super(message)
end