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