Sha256: b0801d7c04cc39e9630b810402b751b4803e8b310b7736f68815361dda2ad68a
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true module Healthicons module Errors class UnknownIcon < StandardError # Create an error for an unknwon icon # # @param icon [String] # @return [String] def initilize(icon = '') msg = "The #{icon} icon could not be found." super(msg) end end # Used to generate an exception if an unknown varient was supplied class UndefinedVariant < StandardError; end end end
Version data entries
6 entries across 6 versions & 1 rubygems