Exception: Puppet::Network::HTTP::Error::HTTPNotAuthorizedError
Constant Summary collapse
- CODE =
403
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(message, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPNotAuthorizedError
constructor
A new instance of HTTPNotAuthorizedError.
Methods inherited from HTTPError
Constructor Details
#initialize(message, issue_kind = Issues::RUNTIME_ERROR) ⇒ HTTPNotAuthorizedError
Returns a new instance of HTTPNotAuthorizedError.
38 39 40 |
# File 'lib/puppet/network/http/error.rb', line 38 def initialize(, issue_kind = Issues::RUNTIME_ERROR) super(_("Not Authorized: %{message}") % { message: }, CODE, issue_kind) end |