Exception: Puppet::Network::HTTP::Error::HTTPServerError
Constant Summary collapse
- CODE =
500
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(original_error, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPServerError
constructor
A new instance of HTTPServerError.
- #to_json ⇒ Object
Constructor Details
#initialize(original_error, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPServerError
Returns a new instance of HTTPServerError.
67 68 69 |
# File 'lib/puppet/network/http/error.rb', line 67 def initialize(original_error, issue_kind = Issues::RUNTIME_ERROR) super(_("Server Error: %{message}") % { message: original_error. }, CODE, issue_kind) end |