Exception: Rootage::NormalizerTypeError

Inherits:
ScriptError
  • Object
show all
Defined in:
lib/rootage/exception.rb

Overview

NormalizerTypeError is raised when the normalization type is unknown. This error means that it's a PIONE's bug.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ NormalizerTypeError

Returns a new instance of NormalizerTypeError.



59
60
61
# File 'lib/rootage/exception.rb', line 59

def initialize(type)
  @type = type
end

Instance Method Details

#messageObject



63
64
65
# File 'lib/rootage/exception.rb', line 63

def message
  'Normalization type "%s" is unknown.' % @type
end