import { PrismaClientKnownRequestError } from '@prisma/client/runtime' import { PrismaError } from './PrismaError' export class PrismaP2018Error extends PrismaError { constructor (originalError: PrismaClientKnownRequestError) { super(originalError, 'The required connected records were not found') } }