Exception: RubySMB::Dcerpc::Error::FaultError
- Inherits:
-
InvalidPacket
- Object
- StandardError
- Error::RubySMBError
- DcerpcError
- InvalidPacket
- RubySMB::Dcerpc::Error::FaultError
- Defined in:
- lib/ruby_smb/dcerpc/error.rb
Overview
Raised when a fault response is received
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(message = nil, status:) ⇒ FaultError
constructor
A new instance of FaultError.
- #status_name ⇒ Object
Constructor Details
#initialize(message = nil, status:) ⇒ FaultError
Returns a new instance of FaultError.
19 20 21 22 |
# File 'lib/ruby_smb/dcerpc/error.rb', line 19 def initialize(=nil, status:) @status_code = status super() end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
18 19 20 |
# File 'lib/ruby_smb/dcerpc/error.rb', line 18 def status_code @status_code end |