wordpress/php-fpm/wordpress_files/plugins/backwpup/inc/class-destination-dropbox-api-request-exception.php

20 lines
441 B
PHP
Raw Permalink Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* Exception thrown when there is an error in the Dropbox request.
*/
class BackWPup_Destination_Dropbox_API_Request_Exception extends BackWPup_Destination_Dropbox_API_Exception {
protected $error;
public function __construct( $message, $code = 0, $previous = null, $error = null ) {
$this->error = $error;
parent::__construct( $message, $code, $previous );
}
public function getError() {
return $this->error;
}
}