Exception: RubySMB::Dcerpc::Error::DfsnmError
- Inherits:
-
DcerpcError
- Object
- StandardError
- Error::RubySMBError
- DcerpcError
- RubySMB::Dcerpc::Error::DfsnmError
- Includes:
- Error::UnexpectedStatusCode::Mixin
- Defined in:
- lib/ruby_smb/dcerpc/error.rb
Overview
Raised when an error is returned during a Dfsnm operation
Instance Attribute Summary
Attributes included from Error::UnexpectedStatusCode::Mixin
Instance Method Summary collapse
-
#initialize(msg, status_code: nil) ⇒ DfsnmError
constructor
A new instance of DfsnmError.
Methods included from Error::UnexpectedStatusCode::Mixin
Constructor Details
#initialize(msg, status_code: nil) ⇒ DfsnmError
Returns a new instance of DfsnmError.
57 58 59 60 61 |
# File 'lib/ruby_smb/dcerpc/error.rb', line 57 def initialize(msg, status_code: nil) self.status_code = status_code unless status_code.nil? super(msg) end |