Exception: Msf::Exploit::Remote::HTTP::Kubernetes::Error::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- Msf::Exploit::Remote::HTTP::Kubernetes::Error::ApiError
- Defined in:
- lib/msf/core/exploit/remote/http/kubernetes/error.rb
Direct Known Subclasses
AuthenticationError, ForbiddenError, InvalidApiError, NotFoundError, ServerError, UnexpectedStatusCode
Instance Attribute Summary collapse
-
#res ⇒ Object
readonly
Returns the value of attribute res.
Instance Method Summary collapse
-
#initialize(message: nil, res: nil) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message: nil, res: nil) ⇒ ApiError
Returns a new instance of ApiError.
10 11 12 13 |
# File 'lib/msf/core/exploit/remote/http/kubernetes/error.rb', line 10 def initialize(message: nil, res: nil) super( || "Kubernetes ApiError") @res = res end |
Instance Attribute Details
#res ⇒ Object (readonly)
Returns the value of attribute res.
15 16 17 |
# File 'lib/msf/core/exploit/remote/http/kubernetes/error.rb', line 15 def res @res end |