1 | export declare class InvalidTypeError extends Error {
|
2 | constructor(targetName: string, key: string, Type: unknown);
|
3 | }
|
4 | export declare class NotNumberTypeError extends Error {
|
5 | constructor(targetName: string, key: string, enumKey: string, enumValue: string);
|
6 | }
|
7 | export declare class NotStringTypeError extends Error {
|
8 | constructor(targetName: string, key: string, enumKey: string, enumValue: string);
|
9 | }
|
10 | /** Not All Virtual Populate Elements Error */
|
11 | export declare class NotAllVPOPElementsError extends Error {
|
12 | constructor(name: string, key: string);
|
13 | }
|
14 | export declare class NoValidClassError extends TypeError {
|
15 | constructor(value: unknown);
|
16 | }
|
17 | export declare class AssertionFallbackError extends Error {
|
18 | constructor();
|
19 | }
|
20 | /** Error for when an unknown PropType is passed to an switch, gets thrown in the default case */
|
21 | export declare class InvalidPropTypeError extends Error {
|
22 | constructor(proptype: unknown, name: string, key: string, where: string);
|
23 | }
|
24 | export declare class CannotBeSymbolError extends Error {
|
25 | constructor(name: string, key: string | symbol);
|
26 | }
|
27 | export declare class SelfContainingClassError extends TypeError {
|
28 | constructor(name: string, key: string);
|
29 | }
|
30 | export declare class RefOptionIsUndefinedError extends Error {
|
31 | constructor(name: string, key: string);
|
32 | }
|
33 | export declare class NotValidModelError extends TypeError {
|
34 | constructor(model: unknown, where: string);
|
35 | }
|
36 | export declare class FunctionCalledMoreThanSupportedError extends Error {
|
37 | constructor(functionName: string, supported: number, extra: string);
|
38 | }
|
39 | export declare class StringLengthExpectedError extends TypeError {
|
40 | constructor(length: number, got: any, where: string, valueName: string);
|
41 | }
|
42 | export declare class OptionDoesNotSupportOptionError extends TypeError {
|
43 | constructor(currentOption: string, problemOption: string, expected: string, provided: string);
|
44 | }
|
45 | export declare class ResolveTypegooseNameError extends ReferenceError {
|
46 | constructor(input: unknown);
|
47 | }
|
48 | export declare class ExpectedTypeError extends TypeError {
|
49 | constructor(optionName: string, expected: string, got: unknown);
|
50 | }
|
51 | export declare class InvalidEnumTypeError extends TypeError {
|
52 | constructor(name: string, key: string, value: unknown);
|
53 | }
|
54 | export declare class InvalidOptionsConstructorError extends TypeError {
|
55 | constructor(name: string, key: string, type: unknown);
|
56 | }
|
57 | export declare class PathNotInSchemaError extends Error {
|
58 | constructor(name: string, key: string);
|
59 | }
|
60 | export declare class NoDiscriminatorFunctionError extends Error {
|
61 | constructor(name: string, key: string);
|
62 | }
|
63 | export declare class DuplicateOptionsError extends TypeError {
|
64 | constructor(duplicateAt: string[]);
|
65 | }
|
66 | export declare class CacheDisabledError extends TypeError {
|
67 | constructor(where: string);
|
68 | }
|