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