Exception: RubyIpifyException::InvalidParamsError
- Inherits:
-
CustomException
- Object
- StandardError
- CustomException
- RubyIpifyException::InvalidParamsError
- Defined in:
- lib/ruby_ipify_exception.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidParamsError
constructor
A new instance of InvalidParamsError.
Constructor Details
#initialize ⇒ InvalidParamsError
Returns a new instance of InvalidParamsError.
16 17 18 19 |
# File 'lib/ruby_ipify_exception.rb', line 16 def initialize msg = "Wrong Format value passed. Please pass anyone from [#{VALID_FORMATS.join(', ')}]." super(msg) end |