Exception: RubySMB::Dcerpc::Error::IcprError

Inherits:
DcerpcError show all
Includes:
Error::UnexpectedStatusCode::Mixin
Defined in:
lib/ruby_smb/dcerpc/error.rb

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) ⇒ IcprError

Returns a new instance of IcprError.



64
65
66
67
68
# File 'lib/ruby_smb/dcerpc/error.rb', line 64

def initialize(msg, status_code: nil)
  self.status_code = status_code unless status_code.nil?

  super(msg)
end