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.
84 85 86 |
# File 'lib/phony.rb', line 84 def initialize super(%(Phony could not normalize the given number. Is it a phone number?)) end |