(msg)
| 419 | |
| 420 | // handle error messages from the postgres backend |
| 421 | _handleErrorMessage(msg) { |
| 422 | if (this._connecting) { |
| 423 | return this._handleErrorWhileConnecting(msg) |
| 424 | } |
| 425 | const activeQuery = this._getActiveQuery() |
| 426 | |
| 427 | if (!activeQuery) { |
| 428 | this._handleErrorEvent(msg) |
| 429 | return |
| 430 | } |
| 431 | |
| 432 | this._activeQuery = null |
| 433 | activeQuery.handleError(msg, this.connection) |
| 434 | } |
| 435 | |
| 436 | _handleRowDescription(msg) { |
| 437 | const activeQuery = this._getActiveQuery() |
nothing calls this directly
no test coverage detected