Exception: Roadie::ProvidersFailed
- Inherits:
-
CssNotFound
- Object
- RuntimeError
- Error
- CssNotFound
- Roadie::ProvidersFailed
- Defined in:
- lib/roadie/errors.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from CssNotFound
#css_name, #extra_message, #provider
Instance Method Summary collapse
-
#initialize(css_name:, providers:, errors:) ⇒ ProvidersFailed
constructor
A new instance of ProvidersFailed.
Constructor Details
#initialize(css_name:, providers:, errors:) ⇒ ProvidersFailed
Returns a new instance of ProvidersFailed.
72 73 74 75 76 77 78 79 |
# File 'lib/roadie/errors.rb', line 72 def initialize(css_name:, providers:, errors:) @errors = errors super( css_name: css_name, message: "All providers failed", provider: providers ) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
70 71 72 |
# File 'lib/roadie/errors.rb', line 70 def errors @errors end |