Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

266 B
Raw Blame
export enum PrismaError {
  DATABASE_UNREACHABLE = 'P1001',
  TABLE_DOES_NOT_EXIST = 'P2021',
  UNIQUE_CONSTRAINT_VIOLATION = 'P2002',
  RECORD_NOT_FOUND = 'P2025',
  TRANSACTION_TIMEOUT = 'P2028',
  TRANSACTION_DEADLOCK = 'P2034', // write conflict or a deadlock
}