CaiWuXiTong/modules/EcommerceFinance/Exceptions/DingTalkWorklogException.php

19 lines
434 B
PHP

<?php
namespace Modules\EcommerceFinance\Exceptions;
use RuntimeException;
use Throwable;
class DingTalkWorklogException extends RuntimeException
{
public function __construct(
string $message,
public readonly string $errorCode = 'dingtalk_worklog_error',
public readonly bool $retryable = false,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
}