Exception: GraphQL::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- GraphQL::ParseError
- Defined in:
- lib/graphql.rb
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.
9 10 11 12 13 14 |
# File 'lib/graphql.rb', line 9 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.
8 9 10 |
# File 'lib/graphql.rb', line 8 def col @col end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
8 9 10 |
# File 'lib/graphql.rb', line 8 def line @line end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
8 9 10 |
# File 'lib/graphql.rb', line 8 def query @query end |