Sha256: 2f0e736365182af212056326d7caaea3e9bfd6c8dbbc75be736a692a2e6cf88e
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 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 initialize(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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
healthicons-0.0.8 | lib/healthicons/errors.rb |
healthicons-0.0.7 | lib/healthicons/errors.rb |