class RediPress::ConfigurationNotAvailable

A RuntimeError subclass for when a configuration is not available.

Attributes

slug[R]

Public Class Methods

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

Public Instance Methods

to_s() click to toggle source
# File lib/redipress/errors.rb, line 15
def to_s
  "The configuration '#{@slug}' is not available."
end