Exception: EPP::ConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/epp-client/server.rb

Overview

A connection error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, addr, peeraddr, error) ⇒ ConnectionError

Returns a new instance of ConnectionError.



8
9
10
11
12
13
# File 'lib/epp-client/server.rb', line 8

def initialize(message, addr, peeraddr, error)
  super(message)
  @error = error
  @addr = addr
  @peeraddr = peeraddr
end

Instance Attribute Details

#addrObject (readonly)

Returns the value of attribute addr.



7
8
9
# File 'lib/epp-client/server.rb', line 7

def addr
  @addr
end

#errorObject (readonly)

Returns the value of attribute error.



7
8
9
# File 'lib/epp-client/server.rb', line 7

def error
  @error
end

#peeraddrObject (readonly)

Returns the value of attribute peeraddr.



7
8
9
# File 'lib/epp-client/server.rb', line 7

def peeraddr
  @peeraddr
end