(error: SqlError)
| 1783 | } |
| 1784 | |
| 1785 | onFatal(error: SqlError): void { |
| 1786 | if (this.done) return |
| 1787 | this.done = true |
| 1788 | const prepared = this.plan.prepared |
| 1789 | if (prepared !== undefined) prepared.parsing = false |
| 1790 | if (this.aborted) this.drainDone?.() |
| 1791 | else this.finish(Effect.fail(this.failure ?? error)) |
| 1792 | } |
| 1793 | |
| 1794 | onDecodeFailure(error: SqlError): void { |
| 1795 | if (this.done || this.aborted || this.phase === "drain") return |
no test coverage detected