Exception: ThreeScale::Backend::MetricInvalid

Inherits:
NotFound
  • Object
show all
Defined in:
lib/3scale/backend/errors.rb

Instance Method Summary collapse

Methods inherited from NotFound

#http_code

Methods inherited from Error

#code, code, #http_code, #to_xml, underscore

Constructor Details

#initialize(metric_name) ⇒ MetricInvalid

Returns a new instance of MetricInvalid.



125
126
127
# File 'lib/3scale/backend/errors.rb', line 125

def initialize(metric_name)
  super %(metric "#{metric_name}" is invalid)
end