import { PrismaClientKnownRequestError } from '@prisma/client/runtime' import { PrismaError } from './PrismaError' export class PrismaP2020Error extends PrismaError { constructor (originalError: PrismaClientKnownRequestError) { super(originalError, 'Value out of range for the type') } }