Class InvalidPrimaryKeyException
Exception raised when a particular record was not found
        
    Namespace: Cake\Datasource\Exception
    
    
    
      
  
  
        Method Summary
- 
          __construct() publicConstructor. 
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. 
