mirror of
https://github.com/peklaiho/madlisp.git
synced 2025-01-06 06:07:12 +00:00
22 lines
340 B
PHP
22 lines
340 B
PHP
|
<?php
|
||
|
namespace MadLisp;
|
||
|
|
||
|
class MadLispUserException extends \Exception
|
||
|
{
|
||
|
protected $value;
|
||
|
|
||
|
public function __construct($value)
|
||
|
{
|
||
|
if (is_string($value)) {
|
||
|
parent::__construct($value);
|
||
|
}
|
||
|
|
||
|
$this->value = $value;
|
||
|
}
|
||
|
|
||
|
public function getValue()
|
||
|
{
|
||
|
return $this->value;
|
||
|
}
|
||
|
}
|