Exception: FoxTail::InvalidIconSet

Inherits:
Error
  • Object
show all
Defined in:
lib/fox_tail/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, msg = nil) ⇒ InvalidIconSet

Returns a new instance of InvalidIconSet.



43
44
45
46
# File 'lib/fox_tail/errors.rb', line 43

def initialize(name, msg = nil)
  @name = name
  super(msg || "The icon set '#{name}' has not been registered. Make sure to add it to your FoxTail configuration.")
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



41
42
43
# File 'lib/fox_tail/errors.rb', line 41

def name
  @name
end