Exception: Ipregistry::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Ipregistry::Error
- Defined in:
- lib/ipregistry/errors.rb
Overview
Base class for every error raised by this library. Rescue it to handle any Ipregistry failure with a single clause:
begin
client.lookup("8.8.8.8")
rescue Ipregistry::Error => e
# ...
end