class Leather::Satchel::Error::InvalidFactoryError

Error raised if the provided factory is not the correct type

Public Class Methods

new(type) click to toggle source

InvalidFactoryError constructor @param type [String]

Calls superclass method
# File lib/leather/satchel/error/invalid_factory_error.rb, line 10
def initialize(type)
  message = "Invalid factory service of type #{type} provided. Must be either a lambda or proc"
  super(message)
end