class Vault::HTTPConnectionError
Attributes
address[R]
Public Class Methods
new(address, exception)
click to toggle source
Calls superclass method
# File lib/vault/errors.rb, line 28 def initialize(address, exception) @address = address @exception = exception super <<-EOH The Vault server at `#{address}' is not currently accepting connections. Please ensure that the server is running and that your authentication information is correct. The original error was `#{exception.class}'. Additional information (if any) is shown below: #{exception.message} Please refer to the documentation for more help. EOH end
Public Instance Methods
original_exception()
click to toggle source
# File lib/vault/errors.rb, line 46 def original_exception @exception end