mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 08:05:34 +08:00
15 lines
334 B
PHP
15 lines
334 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ZM\Exception;
|
|
|
|
class InvalidArgumentException extends ZMException
|
|
{
|
|
public function __construct($message = '', $code = 0, \Throwable $previous = null)
|
|
{
|
|
// TODO: change this to a better error message
|
|
parent::__construct($message, '', $code ?: 74, $previous);
|
|
}
|
|
}
|