Class: ProxyFetcher::Exceptions::RegisteredProvider
- Inherits:
-
ProxyFetcher::Error
- Object
- ProxyFetcher::Exceptions::RegisteredProvider
- Defined in:
- lib/proxy_fetcher/exceptions.rb
Overview
Exception for cases when user tries to register already existing provider.
Instance Method Summary collapse
-
#initialize(name) ⇒ RegisteredProvider
constructor
Initialize new exception.
Constructor Details
#initialize(name) ⇒ RegisteredProvider
Initialize new exception
43 44 45 |
# File 'lib/proxy_fetcher/exceptions.rb', line 43 def initialize(name) super("`#{name}` provider already registered!") end |