Exception: Msf::Exploit::Remote::HTTP::Kubernetes::Error::ApiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/msf/core/exploit/remote/http/kubernetes/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message || "Kubernetes ApiError")
  @res = res
end

Instance Attribute Details

#resObject (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