import{CommerceSdkValidationError}from"@adobe/aio-commerce-lib-core/error";function stringifyError(error){return error instanceof CommerceSdkValidationError?error.display():error instanceof Error?error.message:String(error)}export{stringifyError as t};