When something goes wrong with a query or database connection, A Wee Tiny Blog doesn't report the exact details. Instead, you'd have to use
GetConnection and
mysqli_error to find out more information.
This method is a shortcut, allowing you to get the error information without having to deal with a MySQL function yourself.
Note: In later versions of A Wee Tiny Blog, you'll be able to choose which MySQL handling system to use, so it might be better to use this function rather than tie yourself to a specific system.
If there was no error, then an empty string is returned. Otherwise, this method returns a string describing the last MySQL error.