Exception wrapper for WP_Error objects