(err)
| 409 | // this means the socket is dead - do a hard abort of all queries and emit |
| 410 | // the socket error on the client as well |
| 411 | _handleErrorEvent(err) { |
| 412 | if (this._connecting) { |
| 413 | return this._handleErrorWhileConnecting(err) |
| 414 | } |
| 415 | this._queryable = false |
| 416 | this._errorAllQueries(err) |
| 417 | this.emit('error', err) |
| 418 | } |
| 419 | |
| 420 | // handle error messages from the postgres backend |
| 421 | _handleErrorMessage(msg) { |
no test coverage detected