Files
old-new-wiaas/backend/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/exceptions/class-wc-gateway-ppec-missing-session-exception.php

25 lines
497 B
PHP
Raw Normal View History

2018-06-14 16:49:28 +02:00
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Missing session exception.
*/
class PayPal_Missing_Session_Exception extends Exception {
/**
* Constructor.
*
* @param string $message Exception message
*/
public function __construct( $message = '' ) {
if ( empty( $message ) ) {
$message = __( 'The buyer\'s session information could not be found.', 'woocommerce-gateway-paypal-express-checkout' );
}
parent::__construct( $message );
}
}