Exception: Enom::InterfaceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/enom/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InterfaceError

Returns a new instance of InterfaceError.



13
14
15
16
17
18
19
# File 'lib/enom/error.rb', line 13

def initialize(message = nil)
  if message
    super message
  else
    super "An unknown error occurred.  Check your username, password, and make sure your IP address is permitted to access the Enom API"
  end
end