Exception: Puppet::Forge::Errors::ForgeError Private

Inherits:
Error
  • Object
show all
Defined in:
lib/puppet/forge/errors.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

This exception is the parent for all Forge API errors

Direct Known Subclasses

CommunicationError, ResponseError, SSLVerifyError

Instance Attribute Summary

Attributes inherited from Error

#original

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Puppet::Error

Instance Method Details

#multilineString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This is normally set by the child class, but if it is not this will fall back to displaying the message as a multiline.

Returns:

  • (String)

    the multiline version of the error message



15
16
17
# File 'lib/puppet/forge/errors.rb', line 15

def multiline
  message
end