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 | /** @deprecated This was renamed to "InvalidPropTypeError" and will be removed in 10.0 */
|
25 | export declare const InvalidWhatIsItError: typeof InvalidPropTypeError;
|
26 | export declare class CannotBeSymbolError extends Error {
|
27 | constructor(name: string, key: string | symbol);
|
28 | }
|
29 | export declare class SelfContainingClassError extends TypeError {
|
30 | constructor(name: string, key: string);
|
31 | }
|
32 | export declare class RefOptionIsUndefinedError extends Error {
|
33 | constructor(name: string, key: string);
|
34 | }
|
35 | export declare class NotValidModelError extends TypeError {
|
36 | constructor(model: unknown, where: string);
|
37 | }
|
38 | export declare class FunctionCalledMoreThanSupportedError extends Error {
|
39 | constructor(functionName: string, supported: number, extra: string);
|
40 | }
|
41 | export declare class StringLengthExpectedError extends TypeError {
|
42 | constructor(length: number, got: any, where: string, valueName: string);
|
43 | }
|
44 | export declare class OptionDoesNotSupportOptionError extends TypeError {
|
45 | constructor(currentOption: string, problemOption: string, expected: string, provided: string);
|
46 | }
|
47 | export declare class ResolveTypegooseNameError extends ReferenceError {
|
48 | constructor(input: unknown);
|
49 | }
|
50 | export declare class ExpectedTypeError extends TypeError {
|
51 | constructor(optionName: string, expected: string, got: unknown);
|
52 | }
|
53 | export declare class InvalidEnumTypeError extends TypeError {
|
54 | constructor(name: string, key: string, value: unknown);
|
55 | }
|
56 | export declare class InvalidOptionsConstructorError extends TypeError {
|
57 | constructor(name: string, key: string, type: unknown);
|
58 | }
|
59 | export declare class PathNotInSchemaError extends Error {
|
60 | constructor(name: string, key: string);
|
61 | }
|
62 | export declare class NoDiscriminatorFunctionError extends Error {
|
63 | constructor(name: string, key: string);
|
64 | }
|