Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/thang-qt/Kairos. Focused LLM chat client
Something went wrong. Try again.
123456789101112import { ApiError } from './app-api'
export function mutationErrorMessage(error: unknown, fallback: string) { if (error instanceof ApiError) { return error.message } if (error instanceof Error) { return error.message } return fallback}