The MongoDB\Driver\Exception\InvalidArgumentException class

(mongodb >= 1.0.0)

Introduction

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

Class synopsis

classMongoDB\Driver\Exception\InvalidArgumentExceptionextendsInvalidArgumentExceptionimplementsMongoDB\Driver\Exception\Exception {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top