Sha256: 106bbea1eb7d12cbd9ceed6d9f66d5f2a9704ae5f611fa261d49d68b93669109
Contents?: true
Size: 285 Bytes
Versions: 5
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true module GraphQL class StringEncodingError < GraphQL::RuntimeTypeError attr_reader :string def initialize(str) @string = str super("String \"#{str}\" was encoded as #{str.encoding}! GraphQL requires UTF-8 encoding.") end end end
Version data entries
5 entries across 5 versions & 1 rubygems