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.



21
22
23
# File 'lib/rex/proto/sunrpc/client.rb', line 21

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

Instance Method Details

#to_sObject



25
26
27
# File 'lib/rex/proto/sunrpc/client.rb', line 25

def to_s
  @msg
end