Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SerializationException.php
Go to the documentation of this file.
1 <?php
8 
10 
18 {
22  const DEFAULT_MESSAGE = 'Invalid type';
23 
27  const TYPE_MISMATCH = 'The "%value" value\'s type is invalid. The "%type" type was expected. Verify and try again.';
28 
34  public function __construct(Phrase $phrase = null, \Exception $cause = null, $code = 0)
35  {
36  if ($phrase === null) {
37  $phrase = new Phrase('One or more input exceptions have occurred.');
38  }
39  parent::__construct($phrase, $cause, $code);
40  }
41 }
__construct(Phrase $phrase=null, \Exception $cause=null, $code=0)
$code
Definition: info.phtml:12