Exception: Rex::Proto::DCERPC::Exceptions::Fault

Inherits:
Error
  • Object
show all
Defined in:
lib/rex/proto/dcerpc/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#get_error, #initialize

Constructor Details

This class inherits a constructor from Rex::Proto::DCERPC::Exceptions::Error

Instance Attribute Details

#faultObject

Returns the value of attribute fault.



123
124
125
# File 'lib/rex/proto/dcerpc/exceptions.rb', line 123

def fault
  @fault
end

Instance Method Details

#to_sObject



124
125
126
# File 'lib/rex/proto/dcerpc/exceptions.rb', line 124

def to_s
  'DCERPC FAULT => ' + get_error(self.fault)
end