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