Exception: RubySMB::Dcerpc::Error::DfsnmError

Inherits:
DcerpcError show all
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

#status_code

Instance Method Summary collapse

Methods included from Error::UnexpectedStatusCode::Mixin

#status_name

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