PHP Class MC4WP_API_Exception

Inheritance: extends Exception
Show file Open project: dannyvankooten/mailchimp-for-wordpress

Public Properties

Property Type Description
$detail
$errors
$instance
$response array
$status
$title
$type

Public Methods

Method Description
__construct ( string $message, integer $code, array $response = null, mixed $data = null ) MC4WP_API_Exception constructor.
__toString ( ) : string

Method Details

__construct() public method

MC4WP_API_Exception constructor.
public __construct ( string $message, integer $code, array $response = null, mixed $data = null )
$message string
$code integer
$response array
$data mixed

__toString() public method

public __toString ( ) : string
return string

Property Details

$detail public property

public $detail

$errors public property

public $errors

$instance public property

public $instance

$response public property

public array $response
return array

$status public property

public $status

$title public property

public $title

$type public property

public $type