"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNotFoundError = isNotFoundError;
/** Return true if a Postgres error indicates an invalid/missing ID */
function isNotFoundError(err) {
    const msg = err?.message ?? '';
    return msg.includes('invalid input syntax for type uuid') || msg.includes('not found');
}
