Sha256: f1e2f25e0175891a607ae075a57f22f2b748b452aae6b434493b7c1463856f53

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true
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.2 lib/solidus_recommendations/errors.rb