Exception: RailsHeroicon::UndefinedIcon
- Inherits:
-
StandardError
- Object
- StandardError
- RailsHeroicon::UndefinedIcon
- Defined in:
- lib/rails_heroicon/errors.rb
Instance Method Summary collapse
-
#initialize(icon = "", exception_type = "custom") ⇒ UndefinedIcon
constructor
A new instance of UndefinedIcon.
Constructor Details
#initialize(icon = "", exception_type = "custom") ⇒ UndefinedIcon
Returns a new instance of UndefinedIcon.
12 13 14 15 16 17 |
# File 'lib/rails_heroicon/errors.rb', line 12 def initialize(icon = "", exception_type = "custom") msg = "Couldn't find icon for #{icon}" @exception_type = exception_type super(msg) end |