PrismaClientInitializationError
is missing errorCode
property
#18813
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/regression
A reported bug in functionality that used to work before.
team/client
Issue for team Client.
topic: error
Bug description
PrismaClientInitializationError
type should have anerrorCode
property but I'm seeingundefined
for a range of errors which have this type.How to reproduce
PrismaClientInitializationError
.errorCode
property and see if it'sundefined
.Expected behavior
Would be preferable if Prisma docs had a list of error codes and the associated error.
Prisma information
This is a connection error issue which can be replicated on any toy schema.
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: