Exception: IPCrypt::InvalidIPv4Error

Inherits:
Exception
  • Object
show all
Defined in:
lib/ipcrypt/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(ip) ⇒ InvalidIPv4Error

Returns a new instance of InvalidIPv4Error.



3
4
5
# File 'lib/ipcrypt/exceptions.rb', line 3

def initialize(ip)
  super "Invalid IPv4 address: #{ip}"
end