EMongoException.php 302 B

12345678910111213141516
  1. <?php
  2. /**
  3. * EMongoException
  4. * The exception class that is used by this extension
  5. */
  6. class EMongoException extends CException
  7. {
  8. public $errorInfo;
  9. public function __construct($message, $code = 0, $errorInfo = null)
  10. {
  11. $this->errorInfo = $errorInfo;
  12. parent::__construct($message, $code);
  13. }
  14. }