class Kinetic::Errors::MissingConfigurationValue

Raised when a configuration value is accessed via accessor when it is not set.

@example

require 'kinetic'

set host: 'localhost'
set port: 5674

puts config.unset_configuration_value # raises MissingConfigurationValue

Public Class Methods

new(key) click to toggle source
Calls superclass method
# File lib/kinetic/errors.rb, line 21
def initialize(key)
  super "Expected configuration for '#{key}' but the configuration was not found."
end