Exception: Arstotzka::Exception::FetcherBuilderNotFound Private
- Inherits:
-
StandardError
- Object
- StandardError
- Arstotzka::Exception::FetcherBuilderNotFound
- Defined in:
- lib/arstotzka/exception.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Exception raised when configuration for FetcherBuilder is not found
Instance Attribute Summary collapse
- #attribute ⇒ Object readonly private private
- #klass ⇒ Object readonly private private
Instance Method Summary collapse
-
#initialize(attribute, klass) ⇒ FetcherBuilderNotFound
constructor
private
Returns a new instance of FetcherBuilderNotFound.
-
#message ⇒ String
private
Returns message specifying which attemp created the failure.
Constructor Details
#initialize(attribute, klass) ⇒ FetcherBuilderNotFound
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of FetcherBuilderNotFound
19 20 21 22 |
# File 'lib/arstotzka/exception.rb', line 19 def initialize(attribute, klass) @attribute = attribute @klass = klass end |
Instance Attribute Details
#attribute ⇒ Object (readonly, private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/arstotzka/exception.rb', line 33 def attribute @attribute end |
#klass ⇒ Object (readonly, private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/arstotzka/exception.rb', line 33 def klass @klass end |
Instance Method Details
#message ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns message specifying which attemp created the failure
27 28 29 |
# File 'lib/arstotzka/exception.rb', line 27 def "FetcherBuild not found for #{attribute} on #{klass}" end |