lib/simple_navigation_bootstrap/error.rb
# 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