Exception: Ipregistry::Error

Inherits:
StandardError
  • Object
show all
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

Direct Known Subclasses

ApiError, ClientError