Sha256: 0d38e4bc20c787884dfc978e8dc9561652b0c004771a8f5736937a1423c2fc6d

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module Fix
  module Error
    # Error raised when an invalid specification name is provided during declaration
    class InvalidSpecificationName < ::NameError
      def initialize(name)
        super("Invalid specification name '#{name}'. Specification names must be valid Ruby constants.")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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