Exception: Roadie::CssNotFound
- Defined in:
- lib/roadie/errors.rb
Overview
Raised when an asset provider cannot find a stylesheet.
If you are writing your own asset provider, make sure to raise this in the #find_stylesheet!
method.
Instance Attribute Summary collapse
-
#css_name ⇒ Object
readonly
The name of the stylesheet that cannot be found.
-
#provider ⇒ Object
readonly
Provider used when finding.
Instance Method Summary collapse
-
#initialize(css_name, extra_message = nil, provider = nil) ⇒ CssNotFound
constructor
TODO: Change signature in the next major version of Roadie.
Constructor Details
#initialize(css_name, extra_message = nil, provider = nil) ⇒ CssNotFound
TODO: Change signature in the next major version of Roadie.
42 43 44 45 46 |
# File 'lib/roadie/errors.rb', line 42 def initialize(css_name, = nil, provider = nil) @css_name = css_name @provider = provider super () end |
Instance Attribute Details
#css_name ⇒ Object (readonly)
The name of the stylesheet that cannot be found
36 37 38 |
# File 'lib/roadie/errors.rb', line 36 def css_name @css_name end |
#provider ⇒ Object (readonly)
Provider used when finding
39 40 41 |
# File 'lib/roadie/errors.rb', line 39 def provider @provider end |