/ src / utils / error.ts
error.ts
 1  /**
 2   * Thrown when the error is not related to Codex/network
 3   */
 4  export class TimeoutError extends Error {}
 5  
 6  export class ContainerImageConflictError extends Error {
 7    existingContainersImage: string
 8    newContainersImage: string
 9  
10    constructor(message: string, existingContainersImage: string, newContainersImage: string) {
11      super(message)
12      this.existingContainersImage = existingContainersImage
13      this.newContainersImage = newContainersImage
14    }
15  }