Sha256: 36230f8e875179f3438ccbee17c46939f7b8a70ab4db37914b9072497e87e62c
Contents?: true
Size: 320 Bytes
Versions: 237
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true module GraphQL class InvalidNameError < GraphQL::ExecutionError attr_reader :name, :valid_regex def initialize(name, valid_regex) @name = name @valid_regex = valid_regex super("Names must match #{@valid_regex.inspect} but '#{@name}' does not") end end end
Version data entries
237 entries across 237 versions & 2 rubygems