mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-04 22:13:07 +00:00
16 lines
455 B
TypeScript
16 lines
455 B
TypeScript
|
|
/**
|
||
|
|
* Thrown when the error is not related to Bee/network
|
||
|
|
*/
|
||
|
|
export class TimeoutError extends Error {}
|
||
|
|
|
||
|
|
export class ContainerImageConflictError extends Error {
|
||
|
|
existingContainersImage: string
|
||
|
|
newContainersImage: string
|
||
|
|
|
||
|
|
constructor(message: string, existingContainersImage: string, newContainersImage: string) {
|
||
|
|
super(message)
|
||
|
|
this.existingContainersImage = existingContainersImage
|
||
|
|
this.newContainersImage = newContainersImage
|
||
|
|
}
|
||
|
|
}
|