Exception: Phony::NormalizationError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Phony::NormalizationError
- Defined in:
- lib/phony.rb
Overview
Raised in case Phony can’t normalize a given number.
Instance Method Summary collapse
-
#initialize ⇒ NormalizationError
constructor
A new instance of NormalizationError.
Constructor Details
#initialize ⇒ NormalizationError
Returns a new instance of NormalizationError.
85 86 87 |
# File 'lib/phony.rb', line 85 def initialize super %Q{Phony could not normalize the given number. Is it a phone number?} end |