Exception: Msf::Exploit::Remote::HTTP::Kubernetes::Error::InvalidApiError
- Inherits:
-
ApiError
- Object
- StandardError
- ApiError
- Msf::Exploit::Remote::HTTP::Kubernetes::Error::InvalidApiError
- Defined in:
- lib/msf/core/exploit/remote/http/kubernetes/error.rb
Instance Attribute Summary collapse
-
#res ⇒ Object
readonly
Returns the value of attribute res.
Instance Method Summary collapse
-
#initialize(message: nil, res: nil) ⇒ InvalidApiError
constructor
A new instance of InvalidApiError.
Constructor Details
#initialize(message: nil, res: nil) ⇒ InvalidApiError
Returns a new instance of InvalidApiError.
19 20 21 22 |
# File 'lib/msf/core/exploit/remote/http/kubernetes/error.rb', line 19 def initialize(message: nil, res: nil) super(message: || "Kubernetes InvalidApi - target does not appear to be running Kubernetes, verify configuration", res: res) @res = res end |
Instance Attribute Details
#res ⇒ Object (readonly)
Returns the value of attribute res.
24 25 26 |
# File 'lib/msf/core/exploit/remote/http/kubernetes/error.rb', line 24 def res @res end |