class RediPress::ConfigurationFailed

A RuntimeError subclass for when a configuration fails.

Attributes

configuration[R]
error[R]

Public Class Methods

new(configuration, error) click to toggle source
# File lib/redipress/errors.rb, line 41
def initialize(configuration, error)
  @configuration = configuration
  @error = error
end

Public Instance Methods

to_s() click to toggle source
# File lib/redipress/errors.rb, line 46
def to_s
  "The configuration '#{@configuration.name}' failed: #{@error}"
end