Exception: IPCrypt::InvalidIPv4Error
- Inherits:
-
Exception
- Object
- Exception
- IPCrypt::InvalidIPv4Error
- Defined in:
- lib/ipcrypt/exceptions.rb
Instance Method Summary collapse
-
#initialize(ip) ⇒ InvalidIPv4Error
constructor
A new instance of InvalidIPv4Error.
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 |