Sha256: fd72d5e5f939be8b045a836616c84e4e6b882c75807f255ef7ce2544e5034b28

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module SimpleNavigationBootstrap
  module Error

    # Exception raised when you set Hash without both 'text' and 'icon' parameters as Item 'name' parameter
    class InvalidHash < StandardError
      def initialize(msg = "Hash does not contain any of parameters: 'text', 'icon'")
        super
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_navigation_bootstrap-1.3.0 lib/simple_navigation_bootstrap/error.rb