(message, nodes)
| 6546 | this.schema = schema; |
| 6547 | } |
| 6548 | reportError(message, nodes) { |
| 6549 | const _nodes = Array.isArray(nodes) ? nodes.filter(Boolean) : nodes; |
| 6550 | this._errors.push( |
| 6551 | new _GraphQLError.GraphQLError(message, { |
| 6552 | nodes: _nodes |
| 6553 | }) |
| 6554 | ); |
| 6555 | } |
| 6556 | getErrors() { |
| 6557 | return this._errors; |
| 6558 | } |
no test coverage detected