* Base URL of the database troubleshooting guide in the Medusa documentation. /
// Source: https://github.com/medusajs/medusa | License: MIT | Copyright 2021 Medusajs
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Base URL of the database troubleshooting guide in the Medusa documentation.
*/
export const DB_TROUBLESHOOTING_URL =
"https://docs.medusajs.com/resources/troubleshooting/database-errors"
/**
* Anchors to specific sections of the database troubleshooting guide.
*/
export const DBTroubleshootingSection = {
MIGRATIONS: "error-while-running-migrations",
} as const
/**
* Append a link to the database troubleshooting guide to an error message, so
* connection failures point users to actionable next steps.
*
* @param message - The error message to append the link to.
* @param section - An optional anchor to a specific section
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key