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.
50 51 52 |
# File 'lib/puppet/network/http/error.rb', line 50 def initialize(, issue_kind = Issues::RUNTIME_ERROR) super(_("Method Not Allowed: ") + , CODE, issue_kind) end |