Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

collectionrequiressyncconfigerror.md

166 lines3.4 KB

1---
2id: CollectionRequiresSyncConfigError
3title: CollectionRequiresSyncConfigError
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Class: CollectionRequiresSyncConfigError
9​
10Defined in: [packages/db/src/errors.ts:58](https://github.com/TanStack/db/blob/main/packages/db/src/errors.ts#L58)
11​
12## Extends
13​
14- [`CollectionConfigurationError`](../collectionconfigurationerror.md)
15​
16## Constructors
17​
18### new CollectionRequiresSyncConfigError()
19​
20```ts
21new CollectionRequiresSyncConfigError(): CollectionRequiresSyncConfigError
22```
23​
24Defined in: [packages/db/src/errors.ts:59](https://github.com/TanStack/db/blob/main/packages/db/src/errors.ts#L59)
25​
26#### Returns
27​
28[`CollectionRequiresSyncConfigError`](../collectionrequiressyncconfigerror.md)
29​
30#### Overrides
31​
32[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`constructor`](../CollectionConfigurationError.md#constructors)
33​
34## Properties
35​
36### cause?
37​
38```ts
39optional cause: unknown;
40```
41​
42Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/lib.es2022.error.d.ts:26
43​
44#### Inherited from
45​
46[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`cause`](../CollectionConfigurationError.md#cause)
47​
48***
49​
50### message
51​
52```ts
53message: string;
54```
55​
56Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/lib.es5.d.ts:1077
57​
58#### Inherited from
59​
60[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`message`](../CollectionConfigurationError.md#message-1)
61​
62***
63​
64### name
65​
66```ts
67name: string;
68```
69​
70Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/lib.es5.d.ts:1076
71​
72#### Inherited from
73​
74[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`name`](../CollectionConfigurationError.md#name)
75​
76***
77​
78### stack?
79​
80```ts
81optional stack: string;
82```
83​
84Defined in: node\_modules/.pnpm/typescript@5.8.2/node\_modules/typescript/lib/lib.es5.d.ts:1078
85​
86#### Inherited from
87​
88[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`stack`](../CollectionConfigurationError.md#stack)
89​
90***
91​
92### prepareStackTrace()?
93​
94```ts
95static optional prepareStackTrace: (err, stackTraces) => any;
96```
97​
98Defined in: node\_modules/.pnpm/@types+node@22.13.10/node\_modules/@types/node/globals.d.ts:143
99​
100Optional override for formatting stack traces
101​
102#### Parameters
103​
104##### err
105​
106`Error`
107​
108##### stackTraces
109​
110`CallSite`[]
111​
112#### Returns
113​
114`any`
115​
116#### See
117​
118https://v8.dev/docs/stack-trace-api#customizing-stack-traces
119​
120#### Inherited from
121​
122[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`prepareStackTrace`](../CollectionConfigurationError.md#preparestacktrace)
123​
124***
125​
126### stackTraceLimit
127​
128```ts
129static stackTraceLimit: number;
130```
131​
132Defined in: node\_modules/.pnpm/@types+node@22.13.10/node\_modules/@types/node/globals.d.ts:145
133​
134#### Inherited from
135​
136[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`stackTraceLimit`](../CollectionConfigurationError.md#stacktracelimit)
137​
138## Methods
139​
140### captureStackTrace()
141​
142```ts
143static captureStackTrace(targetObject, constructorOpt?): void
144```
145​
146Defined in: node\_modules/.pnpm/@types+node@22.13.10/node\_modules/@types/node/globals.d.ts:136
147​
148Create .stack property on a target object
149​
150#### Parameters
151​
152##### targetObject
153​
154`object`
155​
156##### constructorOpt?
157​
158`Function`
159​
160#### Returns
161​
162`void`
163​
164#### Inherited from
165​
166[`CollectionConfigurationError`](../collectionconfigurationerror.md).[`captureStackTrace`](../CollectionConfigurationError.md#capturestacktrace)