Sha256: a9601e6061015c0510464e882e702b374887e52fd56ea09e447e88d9311d5d33

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module SolidusRecommendations
  module Errors
    class Standard < StandardError
      def initialize(msg = MESSAGES[self.class])
      end
    end

    class NonSupportedIndex < Standard; end

    MESSAGES = {
      NonSupportedIndex => 'The index specified is not supported.'
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_recommendations-0.0.1 lib/solidus_recommendations/errors.rb