for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*******************************************************************************
* This file is part of the GraphQL Bundle package.
*
* (c) YnloUltratech <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
******************************************************************************/
namespace Ynlo\GraphQLBundle\Error;
class MappedControlledError
{
/**
* @var string
*/
private $class;
private $message;
private $code;
private $description;
* MappedControlledError constructor.
* @param string $class
* @param string $message
* @param string $code
* @param string $description
public function __construct(string $class, string $message, string $code, string $description)
$this->class = $class;
$this->message = $message;
$this->code = $code;
$this->description = $description;
}
* @return string
public function getClass(): string
return $this->class;
public function getMessage(): string
return $this->message;
public function getCode(): string
return $this->code;
public function getDescription(): string
return $this->description;