Exception: Rex::Proto::SunRPC::RPCError
- Inherits:
-
StandardError
- Object
- StandardError
- Rex::Proto::SunRPC::RPCError
- Defined in:
- lib/rex/proto/sunrpc/client.rb
Instance Method Summary collapse
-
#initialize(msg = 'RPC operation failed') ⇒ RPCError
constructor
A new instance of RPCError.
- #to_s ⇒ Object
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_s ⇒ Object
15 16 17 |
# File 'lib/rex/proto/sunrpc/client.rb', line 15 def to_s @msg end |