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.
11 12 13 14 15 16 |
# File 'lib/graphql.rb', line 11 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.
10 11 12 |
# File 'lib/graphql.rb', line 10 def col @col end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
10 11 12 |
# File 'lib/graphql.rb', line 10 def line @line end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
10 11 12 |
# File 'lib/graphql.rb', line 10 def query @query end |