type: StorageType,
error: Error,
table?: string,
- params: HandleErrorParams<EmptyObject> = { throwError: false, consoleOut: false }
+ params: HandleErrorParams<EmptyObject> = { throwError: false, consoleOut: false },
): void {
setDefaultErrorParams(params, { throwError: false, consoleOut: false });
const inTableOrCollectionStr =
`${this.logPrefix} ${this.getDBNameFromStorageType(type)} error '${
error.message
}'${inTableOrCollectionStr}:`,
- error
+ error,
);
if (params?.throwError) {
throw error;
public abstract open(): void | Promise<void>;
public abstract close(): void | Promise<void>;
public abstract storePerformanceStatistics(
- performanceStatistics: Statistics
+ performanceStatistics: Statistics,
): void | Promise<void>;
}