This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/Rails/Exception/PHPError/Base.php
2013-10-02 01:12:58 -05:00

17 lines
371 B
PHP
Executable File

<?php
namespace Rails\Exception\PHPError;
use Rails\Exception\ErrorException;
abstract class Base extends ErrorException implements ExceptionInterface
{
protected $error_data;
public function error_data(array $edata = [])
{
if (!func_get_args())
return $this->error_data;
else
$this->error_data = $edata;
}
}