Learn PHP Programming Language for Free - PHP Teacher PHP Teacher
PostsCategory Partners Manual Magazines
  • « MongoDB\Driver\Exception\WriteException::getWriteResult
  • MySQL »
  • PHP Manual
  • MongoDB\Driver\Exception
  • MongoDB Exception Class Tree

MongoDB Exception Class Tree

The class hierarchy for MongoDB exceptions is modeled after that of the SPL Exceptions. Base classes extend their SPL counterpart and all exception classes in the extension implement the MongoDB\Driver\Exception\Exception interface.

  • MongoDB\Driver\Exception\LogicException (extends LogicException)
  • MongoDB\Driver\Exception\InvalidArgumentException (extends InvalidArgumentException)
  • MongoDB\Driver\Exception\UnexpectedValueException (extends UnexpectedValueException)
  • MongoDB\Driver\Exception\RuntimeException (extends RuntimeException)
    • MongoDB\Driver\Exception\ConnectionException
      • MongoDB\Driver\Exception\AuthenticationException
      • MongoDB\Driver\Exception\ConnectionTimeoutException
      • MongoDB\Driver\Exception\SSLConnectionException (deprecated)
    • MongoDB\Driver\Exception\EncryptionException
    • MongoDB\Driver\Exception\ServerException
      • MongoDB\Driver\Exception\BulkWriteCommandException
      • MongoDB\Driver\Exception\CommandException
      • MongoDB\Driver\Exception\ExecutionTimeoutException
      • MongoDB\Driver\Exception\WriteException (deprecated)
        • MongoDB\Driver\Exception\BulkWriteException
↑ and ↓ to navigate • Enter to select • Esc to close • / to open
Learn PHP Programming Language for Free - PHP Teacher

Free PHP learning resources for developers of all levels.

Blog

  • Posts
  • Categories

Resources

  • Laravel Books

Other

  • RSS
  • Site Map
  • GitHub
Laravel Company Logo Laravel Company

Part of the Laravel Company ecosystem delivering integrated messaging, e-commerce, and SEO solutions.

© 2026 Laravel Software. All Rights Reserved.