import { getApiErrorDetails } from '@/shared/api/http' export function masterDataErrorMessage(error: unknown, fallback: string) { const details = getApiErrorDetails(error, fallback) const reference = details.requestId || details.traceId return reference ? `${details.message}(请求标识:${reference})` : details.message }