catch wp_error