PHP 8.5.0 Beta 3 available for testing

The MongoDB\Driver\Exception\LogicException class

(mongodb >= 1.0.0)

็ฎ€ไป‹

Thrown when the driver is incorrectly used (e.g. rewinding a cursor).

็ฑปๆ‘˜่ฆ

class MongoDB\Driver\Exception\LogicException extends LogicException 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