Exception: Puppet::SSL::CertVerifyError

Inherits:
SSLError show all
Defined in:
lib/puppet/ssl/error.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#original

Instance Method Summary collapse

Constructor Details

#initialize(message, code, cert) ⇒ CertVerifyError

Returns a new instance of CertVerifyError.



6
7
8
9
10
# File 'lib/puppet/ssl/error.rb', line 6

def initialize(message, code, cert)
  super(message)
  @code = code
  @cert = cert
end

Instance Attribute Details

#certObject (readonly)

Returns the value of attribute cert.



5
6
7
# File 'lib/puppet/ssl/error.rb', line 5

def cert
  @cert
end

#codeObject (readonly)

Returns the value of attribute code.



5
6
7
# File 'lib/puppet/ssl/error.rb', line 5

def code
  @code
end