Exception: Puppet::Network::HTTP::Error::HTTPMethodNotAllowedError

Inherits:
HTTPError show all
Defined in:
lib/puppet/network/http/error.rb

Constant Summary collapse

CODE =
405

Instance Attribute Summary

Attributes inherited from HTTPError

#issue_kind, #status

Instance Method Summary collapse

Methods inherited from HTTPError

#to_json

Methods inherited from Exception

#to_zaml, yaml_new

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(message, issue_kind = Issues::RUNTIME_ERROR)
  super("Method Not Allowed: " + message, CODE, issue_kind)
end