Exception: Puppet::Network::HTTP::Handler::HTTPNotAcceptableError

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

Instance Attribute Summary

Attributes inherited from HTTPError

#status

Instance Method Summary collapse

Methods inherited from Exception

#to_zaml, yaml_new

Constructor Details

#initialize(message) ⇒ HTTPNotAcceptableError

Returns a new instance of HTTPNotAcceptableError.



31
32
33
# File 'lib/puppet/network/http/handler.rb', line 31

def initialize(message)
  super("Not Acceptable: " + message, 406)
end