Exception: Puppet::Network::HTTP::Error::HTTPUnsupportedMediaTypeError
Constant Summary collapse
- CODE =
415
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(message, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPUnsupportedMediaTypeError
constructor
A new instance of HTTPUnsupportedMediaTypeError.
Methods inherited from HTTPError
Constructor Details
#initialize(message, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPUnsupportedMediaTypeError
Returns a new instance of HTTPUnsupportedMediaTypeError.
59 60 61 |
# File 'lib/puppet/network/http/error.rb', line 59 def initialize(, issue_kind = Issues::RUNTIME_ERROR) super(_("Unsupported Media Type: %{message}") % { message: }, CODE, issue_kind) end |