MCPcopy
hub / github.com/drizzle-team/drizzle-orm / catch

Method catch

drizzle-seed/src/index.ts:173–180  ·  view source on GitHub ↗
(
		onrejected?:
			| ((reason: any) => TResult | PromiseLike<TResult>)
			| null
			| undefined,
	)

Source from the content-addressed store, hash-verified

171 }
172
173 catch<TResult = never>(
174 onrejected?:
175 | ((reason: any) => TResult | PromiseLike<TResult>)
176 | null
177 | undefined,
178 ): Promise<void | TResult> {
179 return this.then(undefined, onrejected);
180 }
181
182 finally(onfinally?: (() => void) | null | undefined): Promise<void> {
183 return this.then(

Callers 15

mysql.test.tsFile · 0.45
pg.test.tsFile · 0.45
vercel.test.tsFile · 0.45
pg.test.tsFile · 0.45
mysql.test.tsFile · 0.45
mysql-common.tsFile · 0.45

Calls 1

thenMethod · 0.95

Tested by

no test coverage detected