Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
// Not a "use server" module: shared across src/actions/automation/ modules,
// so it must stay importable without becoming a callable server-action endpoint.
export function formatError(
error: unknown,
fallback: string,
): { success: false; message: string } {
console.error(error, fallback);
if (error instanceof Error) {
return { success: false, message: error.message || fallback };
}
return { success: false, message: fallback };
}