PHP 8.4.0 RC2 available for testing

A classe MongoDB\Driver\Exception\UnexpectedValueException

(mongodb >= 1.0.0)

Introdução

Lançada quando o driver encontra um valor inesperado (por exemplo, durante a serialização ou desserialização do BSON).

Resumo da classe

class MongoDB\Driver\Exception\UnexpectedValueException extends UnexpectedValueException implements MongoDB\Driver\Exception\Exception {
/* Propriedades herdadas */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Métodos herdados */
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
}
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top