Exception: GraphQL::SyntaxError
Instance Method Summary collapse
-
#initialize(line, col, string) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
Constructor Details
#initialize(line, col, string) ⇒ SyntaxError
Returns a new instance of SyntaxError.
75 76 77 78 |
# File 'lib/graphql.rb', line 75 def initialize(line, col, string) lines = string.split("\n") super("Syntax Error at (#{line}, #{col}), check usage: #{string}") end |