if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Freemius_Exception' ) ) { /** * Thrown when an API call returns an exception. * */ class Freemius_Exception extends Exception { protected $_result; protected $_type; protected $_code; /** * Make a new API Exception with the given result. * * @param array $result The result from the API server. */ public function __construct( $result ) { $this->_result = $result; $code = 0; $message = 'Unknown error, please check GetResult().'; $type = ''; if ( isset( $result['error'] ) && is_array( $result['error'] ) ) { if ( isset( $result['error']['code'] ) ) { $code = $result['error']['code']; } if ( isset( $result['error']['message'] ) ) { $message = $result['error']['message']; } if ( isset( $result['error']['type'] ) ) { $type = $result['error']['type']; } } $this->_type = $type; $this->_code = $code; parent::__construct( $message, is_numeric( $code ) ? $code : 0 ); } /** * Return the associated result object returned by the API server. * * @return array The result from the API server */ public function getResult() { return $this->_result; } public function getStringCode() { return $this->_code; } public function getType() { return $this->_type; } /** * To make debugging easier. * * @return string The string representation of the error */ public function __toString() { $str = $this->getType() . ': '; if ( $this->code != 0 ) { $str .= $this->getStringCode() . ': '; } return $str . $this->getMessage(); } } } car – AlSahib ALC

Category: car

  • Economic Affordable SUV limo service choices.

    by

    in

    Greetings to Seattle Area Limo Service, in which the impressive vehicles including high-end cars creates the norm with premium transportation in Seattle and surroundings. While looking to find luxury transport close by within greater Seattle area, our wide-ranging range featuring meticulously preserved vehicles offers the perfect choice in all needs, passenger total, plus desire. Being…

  • Airport Seattle airport transportation service for timely arrivals.

    by

    in

    In case one is searching for “limousine service near me” as well as similar keywords including limousine service near me, cheap limo near me, luxury limo near me, best limo service near me, all-day limo availability, nearest limousine company, car service near me, personal chauffeur service, executive black car nearby, executive town vehicle, premium sedan…

  • Affordable Affordable SUV limo service in Seattle.

    by

    in

    Discover in Seattle Premium Limo, at which our impressive fleet including luxury transports establishes the level for premium transfers within greater Seattle. If hunting regarding “limo service near me” near the Emerald City, our diverse array of thoroughly preserved vehicles offers the ideal choice in various preferences, group size, and style. Being a leading company…