class Phony::NormalizationError

Raised in case Phony can’t normalize a given number.

@example

Phony.normalize("Fnork!") # Raises a Phony::NormalizationError.

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/phony.rb, line 84
def initialize
  super(%(Phony could not normalize the given number. Is it a phone number?))
end