Exception: RailsIcons::IconNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- RailsIcons::IconNotFound
- Defined in:
- lib/rails_icons/errors.rb
Instance Method Summary collapse
-
#initialize(icon_name) ⇒ IconNotFound
constructor
A new instance of IconNotFound.
Constructor Details
#initialize(icon_name) ⇒ IconNotFound
Returns a new instance of IconNotFound.
5 6 7 |
# File 'lib/rails_icons/errors.rb', line 5 def initialize(icon_name) super("The icon `#{icon_name}` is not available. Please check the icon name and try again.") end |