Enable auto-retry feature and expand Bot functionality
This commit is contained in:
parent
e7c438bc6a
commit
5d1b07c4c4
14 changed files with 159 additions and 5 deletions
|
@ -16,6 +16,6 @@
|
|||
*/
|
||||
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
parent::__construct(sprintf("%s (Error code %s)", $message, $code), $code, $previous);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue