diff --git a/packages/engine-core/src/common/errors/PrismaClientRustError.ts b/packages/engine-core/src/common/errors/PrismaClientRustError.ts index 3d18bea6dda8..81a2e71b3b22 100644 --- a/packages/engine-core/src/common/errors/PrismaClientRustError.ts +++ b/packages/engine-core/src/common/errors/PrismaClientRustError.ts @@ -11,7 +11,7 @@ export class PrismaClientRustError extends Error { constructor({ clientVersion, log, error }: PrismaClientRustErrorArgs) { if (log) { const backtrace = getBacktraceFromLog(log) - super(backtrace ?? 'Unkown error') + super(backtrace ?? 'Unknown error') } else if (error) { const backtrace = getBacktraceFromRustError(error) super(backtrace) diff --git a/packages/sdk/src/IntrospectionEngine.ts b/packages/sdk/src/IntrospectionEngine.ts index 2cfdaa0c997d..1eaa7f1d11f9 100644 --- a/packages/sdk/src/IntrospectionEngine.ts +++ b/packages/sdk/src/IntrospectionEngine.ts @@ -71,7 +71,7 @@ export type IntrospectionWarnings = | IntrospectionWarningsRelationsReintro | IntrospectionWarningsMongoMultipleTypes | IntrospectionWarningsMongoFieldsPointingToAnEmptyType - | IntrospectionWarningsMongoFieldsWithUnkownTypes + | IntrospectionWarningsMongoFieldsWithUnknownTypes | IntrospectionWarningsMongoFieldsWithEmptyNames type AffectedModel = { model: string } @@ -204,7 +204,7 @@ interface IntrospectionWarningsMongoFieldsPointingToAnEmptyType extends Introspe code: 102 affected: AffectedModelOrCompositeTypeAndField[] } -interface IntrospectionWarningsMongoFieldsWithUnkownTypes extends IntrospectionWarning { +interface IntrospectionWarningsMongoFieldsWithUnknownTypes extends IntrospectionWarning { code: 103 affected: AffectedModelOrCompositeTypeAndField[] }