Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/flexible-shipping-pro   php

Repository URL to install this package:

Version: 1.11.1 

/ wpdesk / wp-wpdesk-tracker / src / sender / Exception / class-wpdesk-tracker-sender-exception-wperror.php

<?php

namespace FSProVendor;

if (!\defined('ABSPATH')) {
    exit;
}
if (!\class_exists('FSProVendor\\WPDesk_Tracker_Sender_Exception_WpError')) {
    class WPDesk_Tracker_Sender_Exception_WpError extends \RuntimeException
    {
        public function __construct($message = "", \WP_Error $wp_error)
        {
            $message = $message . ' WP_Error: ' . $wp_error->get_error_message();
            parent::__construct($message, $wp_error->get_error_code());
        }
    }
}