Exception: Rex::Proto::SunRPC::RPCError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'RPC operation failed') ⇒ RPCError

Returns a new instance of RPCError.


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

def initialize(msg = 'RPC operation failed')
  super
  @msg = msg
end

Instance Method Details

#to_sObject


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

def to_s
  @msg
end