Open History to see the last commit
1---
2id: MissingUpdateArgumentError
3title: MissingUpdateArgumentError
4---
5
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7
8# Class: MissingUpdateArgumentError
9
10Defined in: [packages/db/src/errors.ts:144](https://github.com/TanStack/db/blob/main/packages/db/src/errors.ts#L144)
11
12## Extends
13
14- [`CollectionOperationError`](../collectionoperationerror.md)
15
16## Constructors
17
18### new MissingUpdateArgumentError()
19
20```ts
21new MissingUpdateArgumentError(): MissingUpdateArgumentError
22```
23
24Defined in: [packages/db/src/errors.ts:145](https://github.com/TanStack/db/blob/main/packages/db/src/errors.ts#L145)
25
26#### Returns
27
28[`MissingUpdateArgumentError`](../missingupdateargumenterror.md)
29
30#### Overrides
31
32[`CollectionOperationError`](../collectionoperationerror.md).[`constructor`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`cause`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`message`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`name`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`stack`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`prepareStackTrace`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`stackTraceLimit`](../CollectionOperationError.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[`CollectionOperationError`](../collectionoperationerror.md).[`captureStackTrace`](../CollectionOperationError.md#capturestacktrace)