Exception: Rex::Proto::SunRPC::RPCTimeout

Inherits:
Interrupt
  • Object
show all
Defined in:
lib/rex/proto/sunrpc/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Operation timed out.') ⇒ RPCTimeout

Returns a new instance of RPCTimeout.



10
11
12
# File 'lib/rex/proto/sunrpc/client.rb', line 10

def initialize(msg = 'Operation timed out.')
   @msg = msg
end

Instance Method Details

#to_sObject



14
15
16
# File 'lib/rex/proto/sunrpc/client.rb', line 14

def to_s
  @msg
end