Sha256: a6a61ce19aa4078a5fd7828b7f6dfe4cf3f8767cddff0a04fb20ae28292883df

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

module Fix
  module Error
    # Error raised when a specification cannot be found at runtime
    class SpecificationNotFound < ::NameError
      def initialize(name)
        super("Specification '#{name}' not found. Make sure it's defined before running the test.")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fix-0.21 lib/fix/error/specification_not_found.rb
fix-0.20 lib/fix/error/specification_not_found.rb
fix-0.19 lib/fix/error/specification_not_found.rb