Simple $wpdb error handling
For my own copy and paste pleasures, here are some wpdb error handling examples. It will grow over time: A very simple non-failing method for in a function: if ($wpdb->query($query) === FALSE) { return FALSE; } else { return $wpdb->get_results($query); }...