mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 16:15:34 +08:00
enhancement for BotCommand and CommandArgument
This commit is contained in:
16
src/ZM/Exception/WaitTimeoutException.php
Normal file
16
src/ZM/Exception/WaitTimeoutException.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace ZM\Exception;
|
||||
|
||||
class WaitTimeoutException extends ZMException
|
||||
{
|
||||
public $module;
|
||||
|
||||
public function __construct($module, $message = '', $code = 0, \Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, '', $code, $previous);
|
||||
$this->module = $module;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user