Exception: Roadie::ProvidersFailed

Inherits:
CssNotFound show all
Defined in:
lib/roadie/errors.rb

Instance Attribute Summary collapse

Attributes inherited from CssNotFound

#css_name, #extra_message, #provider

Instance Method Summary collapse

Constructor Details

#initialize(css_name, provider_list, errors) ⇒ ProvidersFailed

Returns a new instance of ProvidersFailed.



71
72
73
74
# File 'lib/roadie/errors.rb', line 71

def initialize(css_name, provider_list, errors)
  @errors = errors
  super(css_name, "All providers failed", provider_list)
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



69
70
71
# File 'lib/roadie/errors.rb', line 69

def errors
  @errors
end