78521fe11 days ago9 lines · 455 B| 1 | /** A failure another attempt cannot fix, such as a repository GitHub no longer lets the token read. The API fails the import instead of retrying it. */ |
| 2 | export class PermanentImportError |
| 3 | |
| 4 | /** The API answered 409: this attempt was superseded or the import is gone, so the job stops without reporting. */ |
| 5 | export class StaleAttemptError |
| 6 | constructor() { |
| 7 | super("The API no longer considers this attempt current"); |
| 8 | } |
| 9 | } |