class Phony::FormattingError
Raised in case Phony
can’t format a given number.
@example
Phony.format("Fnork!") # Raises a Phony::FormattingError.
Public Class Methods
Source
# File lib/phony.rb, line 106 def initialize super(%(Phony could not format the given number. Is it a phone number?)) end
Calls superclass method