Class InvalidPrimaryKeyException
Exception raised when the provided primary key does not match the table primary key
Namespace: Cake\Datasource\Exception
Method Summary
-
__construct() public
Constructor.
Method Detail
__construct() ΒΆ public
__construct(string $message, int $code = 404, Exception|null $previous = null)
Constructor.
Parameters
-
string
$message The error message
-
int
$code optional The code of the error, is also the HTTP status code for the error.
-
Exception|null
$previous optional the previous exception.