lib/graphql/string_encoding_error.rb in graphql-1.5.9 vs lib/graphql/string_encoding_error.rb in graphql-1.5.10
- old
+ new
@@ -2,9 +2,9 @@
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.")
+ super("String \"#{str}\" was encoded as #{str.encoding}! GraphQL requires an encoding compatible with UTF-8.")
end
end
end