Exception: RailsIcons::IconNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rails_icons/errors.rb

Instance Method Summary collapse

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