Display “no results” message when there are no results in WordPress shortcode

How to add custom message for shortcodes when there are no results. This applies to all of our plugins but we will do sample with Auction shortcodes.

function wpg_action_woocommerce_shortcode_products_loop_no_results( $attributes ) {
  echo __( 'No auction(s) found.', 'my-lang' );
}

add_action( 'woocommerce_shortcode_won_auctions_loop_no_results', 'wpg_action_woocommerce_shortcode_products_loop_no_results', 10, 1 );

add_action( 'woocommerce_shortcode_my_active_auctions_loop_no_results', 'wpg_action_woocommerce_shortcode_products_loop_no_results', 10, 1 );