for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
/**
*
* Copyright (C) 2018 Ross Mitchell
* This file is part of RossMitchell/UpdateCloudFlare.
* RossMitchell/UpdateCloudFlare is free software: you can redistribute
* it and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace RossMitchell\UpdateCloudFlare\Responses;
* Class Error
* @package RossMitchell\UpdateCloudFlare\Responses
class Error
{
* @var int
private $code;
* @var string
private $message;
* @return int
public function getCode(): int
return $this->code;
}
* @param int $code
public function setCode(int $code): void
$this->code = $code;
* @return string
public function getMessage(): string
return $this->message;
* @param string $message
public function setMessage(string $message): void
$this->message = $message;