Review funkt

This commit is contained in:
2026-08-09 21:56:00 +00:00
parent f522ae9953
commit fe9dfa4519
11366 changed files with 2335077 additions and 97 deletions

View File

@@ -0,0 +1,14 @@
/**
* Builds the canonical `Error` for a negative status code returned by a backend
* operation (Lua script, SQL function, …). Shared by every backend so that the
* error messages a caller sees are identical regardless of the datastore.
*
* The resulting error carries the numeric `code` so callers can branch on it.
*/
export declare function finishedErrors({ code, jobId, parentKey, command, state, }: {
code: number;
jobId?: string;
parentKey?: string;
command: string;
state?: string;
}): Error;