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.



9
10
11
12
13
# File 'lib/puppet/ssl/error.rb', line 9

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

Instance Attribute Details

#certObject (readonly)

Returns the value of attribute cert.



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

def cert
  @cert
end

#codeObject (readonly)

Returns the value of attribute code.



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

def code
  @code
end