/** * Extracts a human-readable message from a thrown value of unknown type. * * @param error - The caught value. * @param fallback - Returned when `error` is `null` or `undefined`. Defaults to `"Unknown error"`. */ export declare function getErrorMessage(error: unknown, fallback?: string): string; /** * Extracts the most specific SQL message from a `@forge/sql` error. * * @param error - The caught value. * @param fallback - Returned when no known message field is populated. Defaults to `"Unknown error occurred"`. */ export declare function extractSqlErrorMessage(error: unknown, fallback?: string): string; //# sourceMappingURL=errorUtils.d.ts.map