Exception: Protor::IncompatibleTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/protor/registry.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, previous, now) ⇒ IncompatibleTypeError

Returns a new instance of IncompatibleTypeError.



87
88
89
# File 'lib/protor/registry.rb', line 87

def initialize(name, previous, now)
  super("Incompatible type for metric #{name}, previously it was a #{previous}, now it is a #{now}")
end