for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pagantis\ModuleUtils\Exception;
/**
* Class OrderNotFoundException
*
* @package Pagantis\ModuleUtils\Exception
*/
class OrderNotFoundException extends AbstractException
{
* ERROR_MESSAGE
const ERROR_MESSAGE = 'Unable to get the order in Pagantis';
* ERROR_CODE
const ERROR_CODE = 400;
* OrderNotFoundException constructor.
public function __construct()
$this->code = self::ERROR_CODE;
$this->message = self::ERROR_MESSAGE;
return parent::__construct($this->getMessage(), $this->getCode());
}