mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
16 lines
339 B
PHP
16 lines
339 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ZM\Exception;
|
|
|
|
use Throwable;
|
|
|
|
abstract class ZMException extends \Exception
|
|
{
|
|
public function __construct(string $description, string $solution = '', int $code = 0, ?Throwable $previous = null)
|
|
{
|
|
parent::__construct($description . PHP_EOL . $solution, $code, $previous);
|
|
}
|
|
}
|