wordpress/php-fpm/wordpress_files/plugins/backwpup/inc/class-destination-dropbox-api-request-exception.php
2020-05-22 01:40:23 +00:00

20 lines
441 B
PHP

<?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;
}
}