diff options
Diffstat (limited to 'packages/db/src/core/errors.ts')
-rw-r--r-- | packages/db/src/core/errors.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/db/src/core/errors.ts b/packages/db/src/core/errors.ts index 86f94b9bc..4ff477219 100644 --- a/packages/db/src/core/errors.ts +++ b/packages/db/src/core/errors.ts @@ -1,4 +1,4 @@ -import { bold, cyan, green, red, yellow } from 'kleur/colors'; +import { bold, cyan, red } from 'kleur/colors'; export const MISSING_SESSION_ID_ERROR = `${red('▶ Login required!')} @@ -33,6 +33,10 @@ export const RENAME_COLUMN_ERROR = (oldSelector: string, newSelector: string) => export const FILE_NOT_FOUND_ERROR = (path: string) => `${red('▶ File not found:')} ${bold(path)}\n`; +export const SHELL_QUERY_MISSING_ERROR = `${red( + '▶ Please provide a query to execute using the --query flag.' +)}\n`; + export const SEED_ERROR = (error: string) => { return `${red(`Error while seeding database:`)}\n\n${error}`; }; |