You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
440 B
23 lines
440 B
<?php
|
|
|
|
namespace App\Libs;
|
|
|
|
use App\Commons\Log;
|
|
use Hyperf\Di\Annotation\Inject;
|
|
|
|
class SSDBTimeoutException extends SSDBException
|
|
{
|
|
|
|
/**
|
|
* @Inject
|
|
* @var Log
|
|
*/
|
|
protected $log;
|
|
|
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
{
|
|
$this->log->eventInTask('ssdb_timeout_exception', ['msg' => $message]);
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
}
|