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

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

Overview

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 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



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

def multiline
  self.message
end