Exception: GraphQL::ParseError
Instance Attribute Summary collapse
-
#col ⇒ Object
readonly
Returns the value of attribute col.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(message, line, col, query) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, line, col, query) ⇒ ParseError
Returns a new instance of ParseError.
12 13 14 15 16 17 |
# File 'lib/graphql.rb', line 12 def initialize(, line, col, query) super() @line = line @col = col @query = query end |
Instance Attribute Details
#col ⇒ Object (readonly)
Returns the value of attribute col.
11 12 13 |
# File 'lib/graphql.rb', line 11 def col @col end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
11 12 13 |
# File 'lib/graphql.rb', line 11 def line @line end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
11 12 13 |
# File 'lib/graphql.rb', line 11 def query @query end |