mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
18 lines
356 B
PHP
18 lines
356 B
PHP
<?php
|
|
|
|
namespace Rhymix\Framework\Exceptions;
|
|
|
|
/**
|
|
* The "not permitted" exception class.
|
|
*/
|
|
class NotPermitted extends \Rhymix\Framework\Exception
|
|
{
|
|
public function __construct($message = '', $code = 0, $previous = null)
|
|
{
|
|
if ($message === '')
|
|
{
|
|
$message = lang('msg_not_permitted');
|
|
}
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
}
|