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.



67
68
69
70
71
# File 'lib/ruby_smb/dcerpc/error.rb', line 67

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

  super(msg)
end