Exception: Puppet::Network::HTTP::Error::HTTPNotAcceptableError
Constant Summary collapse
- CODE =
406
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(message, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPNotAcceptableError
constructor
A new instance of HTTPNotAcceptableError.
Methods inherited from HTTPError
Constructor Details
#initialize(message, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPNotAcceptableError
Returns a new instance of HTTPNotAcceptableError.
24 25 26 |
# File 'lib/puppet/network/http/error.rb', line 24 def initialize(, issue_kind = Issues::RUNTIME_ERROR) super(_("Not Acceptable: %{message}") % { message: }, CODE, issue_kind) end |