Exception: Otp::Errors::InvalidPhoneNumberError

Inherits:
OtpError
  • Object
show all
Defined in:
lib/otp/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Phone number must be a valid") ⇒ InvalidPhoneNumberError

Returns a new instance of InvalidPhoneNumberError.



15
16
17
# File 'lib/otp/errors.rb', line 15

def initialize(msg = "Phone number must be a valid")
  super
end