Exception: ThisFeature::BadAdapterError

Inherits:
Error
  • Object
show all
Defined in:
lib/this_feature/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(adapter_instance) ⇒ BadAdapterError

Returns a new instance of BadAdapterError.



11
12
13
# File 'lib/this_feature/errors.rb', line 11

def initialize(adapter_instance)
  super("adapter #{adapter_instance.class.name} doesn't inherit from #{ThisFeature::Adapters::Base.name}")
end