PHP 8.5.0 Beta 3 available for testing

The MongoDB\Driver\Exception\InvalidArgumentException class

(mongodb >= 1.0.0)

็ฎ€ไป‹

Thrown when a driver method is given invalid arguments (e.g. invalid option types).

็ฑปๆ‘˜่ฆ

class MongoDB\Driver\Exception\InvalidArgumentException extends InvalidArgumentException implements MongoDB\Driver\Exception\Exception {
/* ็ปงๆ‰ฟ็š„ๅฑžๆ€ง */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* ็ปงๆ‰ฟ็š„ๆ–นๆณ• */
final public Exception::getMessage(): string
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}
๏ผ‹ๆทปๅŠ ๅค‡ๆณจ

็”จๆˆท่ดก็Œฎ็š„ๅค‡ๆณจ

ๆญค้กต้ขๅฐšๆ— ็”จๆˆท่ดก็Œฎ็š„ๅค‡ๆณจใ€‚
To Top