1 | import { Exception } from '@poppinss/utils';
|
2 | import { LucidModel } from './types/model.js';
|
3 | export declare const E_INVALID_DATE_COLUMN_VALUE: new (args: [string, string | null], options?: ErrorOptions) => Exception;
|
4 | export declare const E_UNMANAGED_DB_CONNECTION: new (args: [string], options?: ErrorOptions) => Exception;
|
5 | export declare const E_MISSING_MODEL_ATTRIBUTE: new (args: [string, string, string], options?: ErrorOptions) => Exception;
|
6 | export declare const E_INCOMPLETE_REPLICAS_CONFIG: new (args?: any, options?: ErrorOptions) => Exception;
|
7 | export declare const E_INVALID_REPLICAS_CONFIG: new (args?: any, options?: ErrorOptions) => Exception;
|
8 | export declare const E_MODEL_DELETED: new (args?: any, options?: ErrorOptions) => Exception;
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare const E_ROW_NOT_FOUND: {
|
18 | new (model?: LucidModel): {
|
19 | |
20 |
|
21 |
|
22 | model?: LucidModel;
|
23 | name: string;
|
24 | help?: string;
|
25 | code?: string;
|
26 | status: number;
|
27 | toString(): string;
|
28 | readonly [Symbol.toStringTag]: string;
|
29 | message: string;
|
30 | stack?: string;
|
31 | cause?: unknown;
|
32 | };
|
33 | readonly status: number;
|
34 | readonly code: string;
|
35 | readonly message: string;
|
36 | help?: string;
|
37 | captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
38 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
39 | stackTraceLimit: number;
|
40 | };
|
41 | export declare const E_UNABLE_ACQUIRE_LOCK: new (args?: any, options?: ErrorOptions) => Exception;
|
42 | export declare const E_UNABLE_RELEASE_LOCK: new (args?: any, options?: ErrorOptions) => Exception;
|
43 | export declare const E_MISSING_SCHEMA_FILES: new (args?: any, options?: ErrorOptions) => Exception;
|
44 | export declare const E_UNDEFINED_RELATIONSHIP: new (args?: any, options?: ErrorOptions) => Exception;
|
45 | export declare const E_RUNTIME_EXCEPTION: new (args?: any, options?: ErrorOptions) => Exception;
|
46 |
|
47 |
|
48 |
|
49 | export declare const E_UNSUPPORTED_CLIENT: new (args: [string], options?: ErrorOptions) => Exception;
|