class GraphQL::StringEncodingError

Attributes

string[R]

Public Class Methods

new(str) click to toggle source
Calls superclass method
# File lib/graphql/string_encoding_error.rb, line 5
def initialize(str)
  @string = str
  super("String \"#{str}\" was encoded as #{str.encoding}! GraphQL requires an encoding compatible with UTF-8.")
end