import { UseCaseError } from '../../../../shared/core/UseCaseError' ; import { Result } from '../../../../shared/core/Result' ; export namespace SetCanvasDataUseCaseErrors { export class CanvasNotFoundError extends Result < UseCaseError > { constructor ( canvasId ) { super ( false , { message : `Canvas with id: ${ canvasId }, does not exist` , } as UseCaseError ) ; } } }