if ( false === $result ) {
            // translators: Actual coupon code.
            throw new Exception( sprintf( __( 'An unexpected error happened while applying the Coupon %s.', 'woocommerce' ), esc_html( $coupon->get_code() ) ) );
        } elseif ( 0 === $result ) {
            // translators: Actual coupon code.