Class: ProxyFetcher::Exceptions::UnknownAdapter
- Inherits:
-
ProxyFetcher::Error
- Object
- ProxyFetcher::Exceptions::UnknownAdapter
- Defined in:
- lib/proxy_fetcher/exceptions.rb
Overview
Exception for cases when user tries to set wrong HTML parser adapter in the configuration.
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownAdapter
constructor
Initialize new exception.
Constructor Details
#initialize(name) ⇒ UnknownAdapter
Initialize new exception
82 83 84 |
# File 'lib/proxy_fetcher/exceptions.rb', line 82 def initialize(name) super("unknown adapter '#{name}'") end |