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.

22 lines
440 B

  1. <?php
  2. namespace App\Libs;
  3. use App\Commons\Log;
  4. use Hyperf\Di\Annotation\Inject;
  5. class SSDBTimeoutException extends SSDBException
  6. {
  7. /**
  8. * @Inject
  9. * @var Log
  10. */
  11. protected $log;
  12. public function __construct($message = "", $code = 0, Throwable $previous = null)
  13. {
  14. $this->log->eventInTask('ssdb_timeout_exception', ['msg' => $message]);
  15. parent::__construct($message, $code, $previous);
  16. }
  17. }