()
| 291 | } |
| 292 | |
| 293 | public async clearError() { |
| 294 | this.state.lastError = undefined |
| 295 | this.state.errorCount = 0 |
| 296 | this.state.lastErrorUpdatedAt = 0 |
| 297 | await this.refetchFn({ throwOnError: true }) |
| 298 | } |
| 299 | |
| 300 | // Getters for error state |
| 301 | public get lastError() { |