Returns the stored connection, or errors with a helpful message if no connection exists. Used internally by all fetch functions and the MCP server.
Arguments
- con
Optional explicit connection. If
NULL, uses the stored connection fromselma_connect().
