MCPcopy
hub / github.com/prisma/prisma / constructor

Method constructor

packages/migrate/src/utils/errors.ts:12–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10setClassName(ConfigValidationError, 'ConfigValidationError')
11export class NoSchemaFoundError extends Error {
12 constructor() {
13 super(
14 `Could not find a ${bold(
15 'schema.prisma',
16 )} file that is required for this command.\nYou can either provide it with ${green(
17 '--schema',
18 )}, set its path in the \`schema\` property in your Prisma Config file, or put it into the default location ${green(
19 './prisma/schema.prisma',
20 )} ${link('https://pris.ly/d/prisma-schema-location')}`,
21 )
22 }
23}
24setClassName(NoSchemaFoundError, 'NoSchemaFoundError')
25

Callers

nothing calls this directly

Calls 1

linkFunction · 0.90

Tested by

no test coverage detected