Ejemplo n.º 1
0
 public function __construct($message = null)
 {
     parent::__construct($message ?: 'No result was found for query although at least one row was expected.');
 }
Ejemplo n.º 2
0
 public function __construct($message = null)
 {
     parent::__construct($message ?: 'An invalid argument was provided.');
 }
 public function __construct($value, $expected)
 {
     parent::__construct(sprintf('Expected argument of type "%s", "%s" given', $expected, is_object($value) ? get_class($value) : gettype($value)));
 }