import { UUID } from 'io-ts-types/lib/UUID' ; export class BookDoesNotExist extends Error { public invalidOperatioErr = true ; constructor ( public id ) { super ( `Book with ID ${ id } does not exist` ) ; } }