import { a } from'./chunk-FGO2SSRS.js';
functionf(n){if(typeof n=="string")return n;if(a(n)){if(typeof n.message=="string")return n.message}elseif(typeof(n==null?void0:n.toString)=="function")return n.toString();return"unknown error"}
export { f as a };