2022-04-29 15:51:09 +02:00

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
}
}