class RailsHeroicon::UndefinedIcon

Public Class Methods

new(icon = "", exception_type = "custom") click to toggle source
Calls superclass method
# 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